String html = "<html>\n" +
" <body>\n" +
" <p>Hello, world</p>\n" +
" </body>\n" +
"</html>\n";
can be replaced with
String html = """
<html>
<body>
<p>Hello, world</p>
</body>
</html>
""";
This inspection only reports if the configured language level is 13 Preview.
New in 2019.3