mirror of
https://github.com/SerenityOS/serenity.git
synced 2025-01-22 09:21:57 -05:00
LibWebView: Include the document doctype in the exported Inspector HTML
(cherry picked from commit 2dbf846ff89a13ac3d141c72e8a89a3c6721d04b)
This commit is contained in:
parent
7c6bb5bd77
commit
d906e3c441
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue