ladybird/Libraries/LibHTML/Parser/HTMLParser.h
Andreas Kling edbf09ea29 LibHTML: Make the CSS and HTML parsers take StringViews
This allows us to avoid unnecessary making unnecessary String copies of
all the source text.
2019-10-07 19:11:33 +02:00

7 lines
155 B
C

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