1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-28 13:45:07 +00:00

LibWeb: Remove StringBuilder from HTMLToken::m_tag

This commit is contained in:
Gunnar Beutner 2021-05-23 09:16:07 +02:00 committed by Andreas Kling
parent 901d71148b
commit 3aa202c432
4 changed files with 33 additions and 21 deletions

View file

@ -40,7 +40,7 @@ String HTMLToken::to_string() const
if (type() == HTMLToken::Type::StartTag || type() == HTMLToken::Type::EndTag) {
builder.append(" { name: '");
builder.append(m_tag.tag_name.to_string());
builder.append(m_tag.tag_name);
builder.append("', { ");
for (auto& attribute : m_tag.attributes) {
builder.append(attribute.local_name);