mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-01-24 02:03:06 -05:00
LibWeb: Add more HTML entities
®, ß and all the lowercase and uppercase umlaut characters.
This commit is contained in:
parent
f01af62313
commit
72c52466e0
Notes:
sideshowbarker
2024-07-19 06:06:05 +09:00
Author: https://github.com/linusg Commit: https://github.com/SerenityOS/serenity/commit/72c52466e0c Pull-request: https://github.com/SerenityOS/serenity/pull/2407
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);
|
||||
bool found = false;
|
||||
|
|
Loading…
Add table
Reference in a new issue