mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 04:17:35 +00:00
LibWeb: Add more HTML entities
®, ß and all the lowercase and uppercase umlaut characters.
This commit is contained in:
parent
f01af62313
commit
72c52466e0
1 changed files with 15 additions and 1 deletions
|
@ -229,7 +229,21 @@ static bool parse_html_document(const StringView& html, Document& document, Pare
|
||||||
{ """, "\"" },
|
{ """, "\"" },
|
||||||
{ "»", ">>" },
|
{ "»", ">>" },
|
||||||
{ "«", "<<" },
|
{ "«", "<<" },
|
||||||
{ "©", "\xC2\xA9" },
|
{ "©", "©" },
|
||||||
|
{ "®", "®" },
|
||||||
|
{ "ß", "ß" },
|
||||||
|
{ "ä", "ä" },
|
||||||
|
{ "ë", "ë" },
|
||||||
|
{ "ï", "ï" },
|
||||||
|
{ "ö", "ö" },
|
||||||
|
{ "ü", "ü" },
|
||||||
|
{ "ÿ", "ÿ" },
|
||||||
|
{ "Ä", "Ä" },
|
||||||
|
{ "Ë", "Ë" },
|
||||||
|
{ "Ï", "Ï" },
|
||||||
|
{ "Ö", "Ö" },
|
||||||
|
{ "Ü", "Ü" },
|
||||||
|
{ "Ÿ", "Ÿ" },
|
||||||
};
|
};
|
||||||
auto rest_of_html = html.substring_view(i, html.length() - i);
|
auto rest_of_html = html.substring_view(i, html.length() - i);
|
||||||
bool found = false;
|
bool found = false;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue