Browse Source

LibWeb: Add HTML copyright escape

FalseHonesty 5 years ago
parent
commit
4e8bcda4d1
1 changed files with 1 additions and 0 deletions
  1. 1 0
      Libraries/LibWeb/Parser/HTMLParser.cpp

+ 1 - 0
Libraries/LibWeb/Parser/HTMLParser.cpp

@@ -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;