fix: invalid html structure (#1668)

This commit is contained in:
Marvin Hagemeister
2023-08-17 17:44:26 +02:00
committed by GitHub
parent 899a3e0dc9
commit a4cf4939ee
2 changed files with 18 additions and 4 deletions
+4 -4
View File
@@ -94,11 +94,11 @@ export function renderOuterDocument(
h("script", { src: src, nonce, type: "module" })
),
headVNodes,
h("body", {
...docBody,
dangerouslySetInnerHTML: { __html: opts.bodyHtml },
}),
),
h("body", {
...docBody,
dangerouslySetInnerHTML: { __html: opts.bodyHtml },
}),
);
try {