mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-05-04 02:08:53 +00:00
LibWeb: Remove StringBuilder from HTMLToken::m_comment_or_character
This commit is contained in:
parent
3aa202c432
commit
c3ad8e9a52
Notes:
sideshowbarker
2024-07-18 09:01:37 +09:00
Author: https://github.com/gunnarbeutner
Commit: c3ad8e9a52
Pull-request: https://github.com/SerenityOS/serenity/pull/8687
Reviewed-by: https://github.com/alimpfard
5 changed files with 54 additions and 46 deletions
|
@ -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("' }");
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue