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:
@@ -57,7 +57,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);
|
||||
|
||||
// remove socket file of internal server
|
||||
|
||||
Reference in New Issue
Block a user