mirror of
https://github.com/RGBCube/serenity
synced 2025-05-22 17:15:08 +00:00
LibWeb: Remove StringBuilders from HTMLToken::m_doctype
This commit is contained in:
parent
2150609590
commit
992964aa7d
5 changed files with 60 additions and 45 deletions
|
@ -16,7 +16,7 @@ String HTMLToken::to_string() const
|
|||
case HTMLToken::Type::DOCTYPE:
|
||||
builder.append("DOCTYPE");
|
||||
builder.append(" { name: '");
|
||||
builder.append(m_doctype.name.to_string());
|
||||
builder.append(m_doctype.name);
|
||||
builder.append("' }");
|
||||
break;
|
||||
case HTMLToken::Type::StartTag:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue