mirror of
https://github.com/lightpanda-io/browser.git
synced 2025-12-17 08:48:58 +00:00
netsurf: use parse helper
This commit is contained in:
@@ -38,7 +38,7 @@ pub fn main() !void {
|
||||
defer arena.deinit();
|
||||
|
||||
// document
|
||||
doc = try parser.documentHTMLParseFromFile(arena.allocator(), "test.html");
|
||||
doc = try parser.documentHTMLParseFromFileAlloc(arena.allocator(), "test.html");
|
||||
defer parser.documentHTMLClose(doc);
|
||||
|
||||
// create JS vm
|
||||
|
||||
Reference in New Issue
Block a user