mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 14:27:35 +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(">");
|
builder.append(">");
|
||||||
else if (html[i] == '&')
|
else if (html[i] == '&')
|
||||||
builder.append("&");
|
builder.append("&");
|
||||||
|
else if (html[i] == '"')
|
||||||
|
builder.append(""");
|
||||||
else
|
else
|
||||||
builder.append(html[i]);
|
builder.append(html[i]);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue