mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 14:47:44 +00:00
LibWeb: Port HTMLToken::to_deprecated_string to new AK String
This commit is contained in:
parent
d00c030fce
commit
1f8d72da8e
5 changed files with 6 additions and 8 deletions
|
@ -73,7 +73,7 @@ void SyntaxHighlighter::rehighlight(Palette const& palette)
|
|||
auto token = tokenizer.next_token();
|
||||
if (!token.has_value() || token.value().is_end_of_file())
|
||||
break;
|
||||
dbgln_if(SYNTAX_HIGHLIGHTING_DEBUG, "(HTML::SyntaxHighlighter) got token of type {}", token->to_deprecated_string());
|
||||
dbgln_if(SYNTAX_HIGHLIGHTING_DEBUG, "(HTML::SyntaxHighlighter) got token of type {}", token->to_string());
|
||||
|
||||
if (token->is_start_tag()) {
|
||||
if (token->tag_name() == "script"sv) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue