mirror of
https://github.com/lightpanda-io/browser.git
synced 2025-12-18 01:48:10 +00:00
add parsed DocType to document (and handle dumping it)
This commit is contained in:
@@ -64,7 +64,7 @@ pub fn fetch(app: *App, url: [:0]const u8, opts: FetchOpts) !void {
|
||||
_ = session.fetchWait(opts.wait_ms);
|
||||
|
||||
const writer = opts.writer orelse return;
|
||||
try dump.root(opts.dump, writer, page);
|
||||
try dump.root(page.window._document, opts.dump, writer, page);
|
||||
try writer.flush();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user