Nuxt i18n module v-html xss warning
Hello,
I'm trying to understand the XSS warning I get when using v-html directive for html with i18n. I'm sure it's simple, but I think I'm just missing something.
I have content coming from a Headless CMS and some of it is HTML.
If I use
<div v-html="$t('rawHtml')"></div> it renders fine, but I get the xss warning:WARN [intlify] Detected HTML in '<p>This is the content </p>' message. Recommend not using HTML messages to avoid XSS.
The vue i18n docs suggested here in Html Message Syntax to use Component Interpolation instead.
If I use the following, I just get the the html rendered as a string and I see the tags:
Any suggestions would be appricited, thanks!
