LibWebView: Include the document doctype in the exported Inspector HTML

This commit is contained in:
Timothy Flynn 2024-08-20 11:02:46 -04:00 committed by Tim Flynn
parent 9f1517492c
commit 2dbf846ff8
Notes: github-actions[bot] 2024-08-20 18:01:54 +00:00

View file

@ -92,7 +92,7 @@ const scrollToElement = element => {
};
inspector.exportInspector = () => {
const html = document.documentElement.outerHTML;
const html = `<!DOCTYPE ${document.doctype.name}>\n${document.documentElement.outerHTML}`;
inspector.exportInspectorHTML(html);
};