2019-06-15 13:55:47 -03:00
|
|
|
#pragma once
|
|
|
|
|
|
2019-06-21 13:45:35 -03:00
|
|
|
#include <AK/NonnullRefPtr.h>
|
2019-06-15 18:41:15 -03:00
|
|
|
#include <LibHTML/DOM/Document.h>
|
2019-06-15 13:55:47 -03:00
|
|
|
|
2019-11-06 16:28:36 -03:00
|
|
|
class DocumentFragment;
|
2019-06-15 13:55:47 -03:00
|
|
|
|
2019-11-06 16:49:28 -03:00
|
|
|
RefPtr<Document> parse_html_document(const StringView&, const URL& = URL());
|
2019-11-06 16:28:36 -03:00
|
|
|
RefPtr<DocumentFragment> parse_html_fragment(Document&, const StringView&);
|
2019-11-06 18:37:24 -03:00
|
|
|
String escape_html_entities(const StringView&);
|