summaryrefslogtreecommitdiff
path: root/Libraries/LibHTML/Parser/HTMLParser.h
blob: 46dc22428a8e05c6565d33a93dcbb6097b94c628 (plain)
1
2
3
4
5
6
7
8
9
#pragma once

#include <AK/NonnullRefPtr.h>
#include <LibHTML/DOM/Document.h>

class DocumentFragment;

NonnullRefPtr<Document> parse_html_document(const StringView&, const URL& = URL());
RefPtr<DocumentFragment> parse_html_fragment(Document&, const StringView&);