LibWeb: Add HTML copyright escape

This commit is contained in:
FalseHonesty 2020-05-26 15:59:25 -04:00 committed by Andreas Kling
parent b85ab86c84
commit 4e8bcda4d1
Notes: sideshowbarker 2024-07-19 06:06:11 +09:00

View file

@ -229,6 +229,7 @@ static bool parse_html_document(const StringView& html, Document& document, Pare
{ """, "\"" },
{ "»", ">>" },
{ "&laquo;", "<<" },
{ "&copy;", "\xC2\xA9" },
};
auto rest_of_html = html.substring_view(i, html.length() - i);
bool found = false;