mirror of
https://github.com/nuxt/nuxt.git
synced 2025-02-23 17:10:07 +00:00
chore: append innerHTML
This commit is contained in:
parent
23f7cef4d4
commit
63196efa73
@ -481,7 +481,7 @@ export default defineRenderHandler(async (event): Promise<Partial<RenderResponse
|
|||||||
islandHead[tag.tag as keyof Head] = value
|
islandHead[tag.tag as keyof Head] = value
|
||||||
} else {
|
} else {
|
||||||
// @ts-expect-error type juggling
|
// @ts-expect-error type juggling
|
||||||
islandHead[tag.tag as keyof Head] = tag.props
|
islandHead[tag.tag as keyof Head] = { innerHTML: tag.innerHTML, textContent: tag.textContent, ...tag.props }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user