mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-22 09:19:03 +00:00
LibWebView: Include the document doctype in the exported Inspector HTML
This commit is contained in:
@@ -92,7 +92,7 @@ const scrollToElement = element => {
|
|||||||
};
|
};
|
||||||
|
|
||||||
inspector.exportInspector = () => {
|
inspector.exportInspector = () => {
|
||||||
const html = document.documentElement.outerHTML;
|
const html = `<!DOCTYPE ${document.doctype.name}>\n${document.documentElement.outerHTML}`;
|
||||||
inspector.exportInspectorHTML(html);
|
inspector.exportInspectorHTML(html);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user