- Issue created by @Grevil
- Status changed to Postponed
over 1 year ago 2:39pm 31 May 2023 - 🇩🇪Germany Grevil
POSTPONED on 🐛 HTML inside an vertical-tabs tab label is being removed and escaped Needs work .
This is a follow-up issue to ✨ Add option to allow HTML in labels Fixed .
HTML inside the "Vertical Tabs" "Tab" label is being removed and escaped. The issue behind is an upstream core issue, which needs to get resolved:
The core "vertical-tabs.js" uses "textContent" to render the tab labels instead of "innerHTML".
Element.innerHTML returns HTML, as its name indicates. Sometimes people use innerHTML to retrieve or write text inside an element, but textContent has better performance because its value is not parsed as HTML.
See https://developer.mozilla.org/en-US/docs/Web/API/Node/textContent?retire...
Additionally, the HTML gets escaped somewhere else (but that should be resolved in the core issue).
Fix the upstream core issue.
Postponed
3.0
Miscellaneous
POSTPONED on 🐛 HTML inside an vertical-tabs tab label is being removed and escaped Needs work .