Vue i18n v11.4.22

intlify/vue-i18n
Share
Summary
In version v11.4.22 of Vue i18n, the `escapeParameter` sanitizer has been improved to automatically close unclosed elements in translations and remove unnecessary end tags, enhancing HTML rendering consistency. Additionally, this release includes important security fixes related to sanitizing translated HTML.

Full release notes

escapeParameter: The sanitizer now closes the elements that a translation leaves open, and removes end tags that close no element of the translation, in the same way as browsers do when the translation is rendered on the client. A <form> that the translation does not close, and <foreignObject>, <desc>, <mi> and similar SVG and MathML elements outside SVG and MathML, are turned into text. Well-formed translations are not changed. (#2793)

What's Changed

🔒 Security Fixes

Full Changelog: https://github.com/intlify/vue-i18n/compare/v11.4.21...v11.4.22

Latest Vue i18n releases

All releases