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>
<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.