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
commit 892f6394b8
Notes: sideshowbarker 2024-07-17 18:44:31 +09:00
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();