diff options
Diffstat (limited to 'Userland/Libraries/LibWeb/CSS/SyntaxHighlighter/SyntaxHighlighter.cpp')
-rw-r--r-- | Userland/Libraries/LibWeb/CSS/SyntaxHighlighter/SyntaxHighlighter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibWeb/CSS/SyntaxHighlighter/SyntaxHighlighter.cpp b/Userland/Libraries/LibWeb/CSS/SyntaxHighlighter/SyntaxHighlighter.cpp index 560c4fa409..e922c204ee 100644 --- a/Userland/Libraries/LibWeb/CSS/SyntaxHighlighter/SyntaxHighlighter.cpp +++ b/Userland/Libraries/LibWeb/CSS/SyntaxHighlighter/SyntaxHighlighter.cpp @@ -43,7 +43,7 @@ void SyntaxHighlighter::rehighlight(Palette const& palette) false); }; - CSS::Parser::Tokenizer tokenizer { text, "utf-8" }; + CSS::Parser::Tokenizer tokenizer { text, "utf-8"sv }; auto tokens = tokenizer.parse(); for (auto const& token : tokens) { if (token.is(Parser::Token::Type::EndOfFile)) |