1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-06-28 21:02:07 +00:00

LibWeb: Remove StringBuilders from HTMLToken::AttributeBuilder

This commit is contained in:
Gunnar Beutner 2021-05-23 08:50:48 +02:00 committed by Andreas Kling
parent 992964aa7d
commit 901d71148b
4 changed files with 41 additions and 33 deletions

View file

@ -43,9 +43,9 @@ String HTMLToken::to_string() const
builder.append(m_tag.tag_name.to_string());
builder.append("', { ");
for (auto& attribute : m_tag.attributes) {
builder.append(attribute.local_name_builder.to_string());
builder.append(attribute.local_name);
builder.append("=\"");
builder.append(attribute.value_builder.to_string());
builder.append(attribute.value);
builder.append("\" ");
}
builder.append("} }");