mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-02 04:27:12 +02:00
LibWeb: Add HTML copyright escape
This commit is contained in:
committed by
Andreas Kling
parent
b85ab86c84
commit
4e8bcda4d1
Notes:
sideshowbarker
2024-07-19 06:06:11 +09:00
Author: https://github.com/FalseHonesty Commit: https://github.com/SerenityOS/serenity/commit/4e8bcda4d11 Pull-request: https://github.com/SerenityOS/serenity/pull/2406
@@ -229,6 +229,7 @@ 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;
|
||||
|
||||
Reference in New Issue
Block a user