AK: Escape '"' in escape_html_entities

This commit is contained in:
Peter Elliott 2021-09-09 19:33:29 -06:00 committed by Andreas Kling
parent 6724d6d391
commit d28459fb11
Notes: sideshowbarker 2024-07-18 04:10:49 +09:00

View file

@ -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]);
}