useSanitize #2305
marssantoso
started this conversation in
Ideas
useSanitize
#2305
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Basically a utility used for sanitizing text before being rendered. Especially useful to be used with
v-html
.Implementation detail could be similar of what
sanitize-html
does, but with the full support of Vue 3 and TypeScript.I did attempt to use sanitize-html in Nuxt 3, but it got issues in production environment. I expected there would be composable in vueuse I could already use, but I could not find it, hence this idea.
Beta Was this translation helpful? Give feedback.
All reactions