Using HTML in SFC results in parsing issue Unexpected scalar at node end
#351
Labels
Status: Review Needed
Request for review comments
Unexpected scalar at node end
#351
Reporting a bug?
I'm trying to use short bits of html for text formatting in Nuxt. However, the
yaml-eslint-parser
package that is used does not seem to allow that. It throws an error saying "Unexpected scalar token". I tried changing the formatting from yaml to json, but that does not seem to have any effect, since theyaml-eslint-parser
seems to be used for both cases.Expected behavior
Parsing the translation values regardless of its HTML content, when
strictMessage
is disabled.Reproduction
https://github.com/casperboone/nuxt-i18n-sfc-html-bug-reproduction
Issue Package
vite-plugin-vue-i18n
System Info
Screenshot
No response
Additional context
Validations
The text was updated successfully, but these errors were encountered: