LibWeb: Remove StringBuilder from HTMLToken::m_comment_or_character

This commit is contained in:
Gunnar Beutner
2021-05-23 09:31:40 +02:00
committed by Andreas Kling
parent 3aa202c432
commit c3ad8e9a52
5 changed files with 54 additions and 46 deletions

View File

@@ -53,7 +53,7 @@ String HTMLToken::to_string() const
if (type() == HTMLToken::Type::Comment || type() == HTMLToken::Type::Character) {
builder.append(" { data: '");
builder.append(m_comment_or_character.data.to_string());
builder.append(m_comment_or_character.data);
builder.append("' }");
}