mirror of
https://github.com/lightpanda-io/browser.git
synced 2025-10-30 15:41:48 +00:00
@@ -18,8 +18,8 @@ pub const HTMLDocument = struct {
|
||||
// JS funcs
|
||||
// --------
|
||||
|
||||
pub fn get_body(self: *parser.DocumentHTML) ?*parser.Body {
|
||||
return parser.documentHTMLBody(self);
|
||||
pub fn get_body(self: *parser.DocumentHTML) !?*parser.Body {
|
||||
return try parser.documentHTMLBody(self);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user