mirror of
https://github.com/RGBCube/serenity
synced 2025-05-18 02:15:06 +00:00
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.
This commit is contained in:
parent
a239ef34d5
commit
66caa7af2b
3 changed files with 4 additions and 4 deletions
|
@ -3,5 +3,5 @@
|
|||
#include <AK/NonnullRefPtr.h>
|
||||
#include <LibHTML/DOM/Document.h>
|
||||
|
||||
NonnullRefPtr<Document> parse_html(const String&);
|
||||
NonnullRefPtr<Document> parse_html(const String&, const URL& = URL());
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue