mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-06 08:36:15 +00:00
LibWeb: Remove StringBuilders from HTMLToken::AttributeBuilder
This commit is contained in:
committed by
Andreas Kling
parent
992964aa7d
commit
901d71148b
@@ -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("} }");
|
||||
|
||||
Reference in New Issue
Block a user