mirror of
https://github.com/lightpanda-io/browser.git
synced 2025-10-30 07:31:47 +00:00
netsurf: remove documentHTMLParseFromFile
This commit is contained in:
@@ -1393,12 +1393,6 @@ fn parserErr(err: HubbubErr) ParserError!void {
|
||||
};
|
||||
}
|
||||
|
||||
// documentHTMLParseFromFile parses the given HTML file.
|
||||
// The caller is responsible for closing the document.
|
||||
pub fn documentHTMLParseFromFile(file: std.fs.File) !*DocumentHTML {
|
||||
return try documentHTMLParse(file.reader());
|
||||
}
|
||||
|
||||
// documentHTMLParseFromStr parses the given HTML string.
|
||||
// The caller is responsible for closing the document.
|
||||
pub fn documentHTMLParseFromStr(str: []const u8) !*DocumentHTML {
|
||||
|
||||
Reference in New Issue
Block a user