HTML rendering bug in data-text attribute of language switcher
-
Hi,
I’ve encountered a bug with the WEB-T – eTranslation Multilingual plugin (version 2.0.6) related to the language switcher markup.The
data-textattribute is being generated with invalid HTML. Specifically:- The plugin includes inline HTML using unescaped double quotes.
- It appends
>at the end of the attribute value, which gets rendered as a visible">before each language flag.
Example of generated output:
<span class="menu-text" data-text="<span ... ></span>">This results in:
- Visually broken characters (
">) next to the flag icons - Invalid HTML structure
We’ve tried several frontend workarounds using JavaScript and CSS, but the issue seems to originate from how the plugin builds the
data-textattribute.Could you please review and fix this in a future update?
Happy to provide access or help debug further if needed.
Thank you,
Nelson JerónimoThe page I need help with: [log in to see the link]
The topic ‘HTML rendering bug in data-text attribute of language switcher’ is closed to new replies.