mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-06 16:45:03 +00:00
LibHTML: Rename Document::normalize() to fixup() and always do it
Node.normalize() is a standard DOM API that coalesces Text nodes. To avoid clashing with that, rename it to fixup(). This patch also makes it happen automagically as part of parsing.
This commit is contained in:
@@ -182,7 +182,6 @@ void HtmlView::load(const URL& url)
|
||||
}
|
||||
|
||||
auto document = parse_html(data, url);
|
||||
document->normalize();
|
||||
|
||||
set_document(document);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user