mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-07 00:56:14 +00:00
AK: Escape '"' in escape_html_entities
This commit is contained in:
committed by
Andreas Kling
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]);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user