3 ms·
It seems to be based on lit-html, so anything that's interpolated gets automatically sanitised unless you're using a directive[1] or interpolate other templates
by pabc1 3y ago
It seems to be based on lit-html, so anything that's interpolated gets automatically sanitised unless you're using a directive[1] or interpolate other templates created using the "html" function.
[1]: https://lit.dev/docs/api/directives/#unsafeHTML https://lit.dev/docs/api/directives/#unsafeHTML