mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 12:58:12 +00:00
AK: Escape '"' in escape_html_entities
This commit is contained in:
parent
6724d6d391
commit
d28459fb11
1 changed files with 2 additions and 0 deletions
|
@ -371,6 +371,8 @@ String escape_html_entities(const StringView& html)
|
|||
builder.append(">");
|
||||
else if (html[i] == '&')
|
||||
builder.append("&");
|
||||
else if (html[i] == '"')
|
||||
builder.append(""");
|
||||
else
|
||||
builder.append(html[i]);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue