summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--AK/String.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/AK/String.cpp b/AK/String.cpp
index df2d0730c6..66b61767c7 100644
--- a/AK/String.cpp
+++ b/AK/String.cpp
@@ -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]);
}