ladybird/Libraries/LibHTML/Parser/HTMLParser.h
Andreas Kling 66caa7af2b LibHTML: Optionally pass document URL to the HTML parser
This makes the document URL available to all the parse_attributes()
callbacks, in case they need it for anything.
2019-10-06 21:13:24 +02:00

7 lines
151 B
C

#pragma once
#include <AK/NonnullRefPtr.h>
#include <LibHTML/DOM/Document.h>
NonnullRefPtr<Document> parse_html(const String&, const URL& = URL());