Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d1d35cb commit a3453e3Copy full SHA for a3453e3
1 file changed
‎packages/runtime-vapor/src/dom/prop.ts‎
@@ -381,7 +381,7 @@ export function setBlockHtml(
381
block: Block & { $html?: string },
382
value: any,
383
): void {
384
- value = value == null ? '' : value
+ value = value == null ? '' : unsafeToTrustedHTML(value)
385
if (block.$html !== value) {
386
setHtmlToBlock(block, (block.$html = value))
387
}
0 commit comments