summaryrefslogtreecommitdiff
path: root/Userland
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2020-05-24 22:00:46 +0200
committerAndreas Kling <kling@serenityos.org>2020-05-24 23:54:22 +0200
commit45da08a1e69728d58f3d9c29ca93dfaf43b672c2 (patch)
tree0172e710306c678ade3f8bbf8af2ea1e82896789 /Userland
parent3a30180e1e924f4168e806ed44cecf1a631e4738 (diff)
downloadserenity-45da08a1e69728d58f3d9c29ca93dfaf43b672c2.zip
LibWeb: A whole bunch of work towards spec-compliant <script> elements
This is still very unfinished, but there's at least a skeleton of code.
Diffstat (limited to 'Userland')
-rw-r--r--Userland/ht.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/ht.cpp b/Userland/ht.cpp
index 27667530cb..b3354c2a7f 100644
--- a/Userland/ht.cpp
+++ b/Userland/ht.cpp
@@ -48,7 +48,7 @@ int main(int argc, char** argv)
auto contents = file_or_error.value()->read_all();
Web::HTMLDocumentParser parser(contents);
- parser.run();
+ parser.run(URL::create_with_file_protocol(input_path));
auto& document = parser.document();
Web::dump_tree(document);