1
Fork 0
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:
Gunnar Beutner 2021-05-23 08:20:03 +02:00 committed by Andreas Kling
parent 2150609590
commit 992964aa7d
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: