mirror of
				https://github.com/lightpanda-io/browser.git
				synced 2025-10-30 15:41:48 +00:00 
			
		
		
		
	netsurf: remove documentHTMLParseFromFile
This commit is contained in:
		| @@ -20,7 +20,7 @@ pub fn run(arena: *std.heap.ArenaAllocator, comptime apis: []jsruntime.API, comp | ||||
|     const file = try std.fs.cwd().openFile(f, .{}); | ||||
|     defer file.close(); | ||||
|  | ||||
|     const html_doc = try parser.documentHTMLParseFromFile(file); | ||||
|     const html_doc = try parser.documentHTMLParse(file.reader()); | ||||
|     const doc = parser.documentHTMLToDocument(html_doc); | ||||
|  | ||||
|     const dirname = fspath.dirname(f[dir.len..]) orelse unreachable; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Pierre Tachoire
					Pierre Tachoire