1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-28 22:05:06 +00:00

LibWeb: Implement state switch for "[CDATA[" in HTML parser

This commit is contained in:
Linus Groh 2022-02-15 18:52:45 +00:00 committed by Andreas Kling
parent 3f7086f91a
commit 892f6394b8
2 changed files with 14 additions and 1 deletions

View file

@ -42,6 +42,8 @@ namespace Web::HTML {
RefPtr<DOM::Document> parse_html_document(StringView, const AK::URL&, const String& encoding);
class HTMLParser {
friend class HTMLTokenizer;
public:
HTMLParser(DOM::Document&, StringView input, const String& encoding);
~HTMLParser();