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
- fix(shared): close the elements that a translation leaves open in sanitizeTranslatedHtml by @kazupon in #2793
Full Changelog: v11.4.21...v11.4.22