LibWeb: Remove StringBuilders from HTMLToken::m_doctype

This commit is contained in:
Gunnar Beutner 2021-05-23 08:20:03 +02:00 committed by Andreas Kling
commit 992964aa7d
Notes: sideshowbarker 2024-07-18 09:01:47 +09:00
5 changed files with 60 additions and 45 deletions

View file

@ -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: