mirror of
https://github.com/RGBCube/serenity
synced 2025-07-22 22:37:40 +00:00
LibWeb: Rename HTMLDocumentParser => HTMLParser
This commit is contained in:
parent
0ee457dfdf
commit
f67648f872
18 changed files with 106 additions and 106 deletions
|
@ -8,7 +8,7 @@
|
|||
|
||||
#include <LibWeb/DOM/DocumentFragment.h>
|
||||
#include <LibWeb/DOM/ExceptionOr.h>
|
||||
#include <LibWeb/HTML/Parser/HTMLDocumentParser.h>
|
||||
#include <LibWeb/HTML/Parser/HTMLParser.h>
|
||||
|
||||
namespace Web::DOMParsing {
|
||||
|
||||
|
@ -17,7 +17,7 @@ static DOM::ExceptionOr<NonnullRefPtr<DOM::DocumentFragment>> parse_fragment(Str
|
|||
{
|
||||
// FIXME: Handle XML documents.
|
||||
|
||||
auto new_children = HTML::HTMLDocumentParser::parse_html_fragment(context_element, markup);
|
||||
auto new_children = HTML::HTMLParser::parse_html_fragment(context_element, markup);
|
||||
auto fragment = make_ref_counted<DOM::DocumentFragment>(context_element.document());
|
||||
|
||||
for (auto& child : new_children) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue