Skip to content

Commit

Permalink
feat: remove un-cloak to html node as well as body (#2026)
Browse files Browse the repository at this point in the history
  • Loading branch information
vbrajon committed Dec 30, 2022
1 parent 0d9c7b9 commit b19f595
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/runtime/src/index.ts
Expand Up @@ -172,6 +172,7 @@ export default function init(inlineConfig: RuntimeOptions = {}) {
const html = body && body.outerHTML
if (html) {
await extract(`${html} ${decodeHtml(html)}`)
removeCloak(defaultDocument.documentElement)
removeCloak(body)
}
}
Expand Down

0 comments on commit b19f595

Please sign in to comment.