mirror of
https://github.com/SerenityOS/serenity
synced 2024-07-22 02:26:11 +00:00
AK: Escape '"' in escape_html_entities
This commit is contained in:
parent
6724d6d391
commit
d28459fb11
|
@ -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…
Reference in a new issue