#75838Anchor Classes not rendered in rtehtmlarea_wizard_element_browser
Description
The Style Select-Box in Element Browser is empty (s. Screenshot).
TYPO3 Version 6.2.21, works with 6.2.19, Bug comes with c6dcf831ad123ca9c61d12c910667106a6abf031 (#51908)
That is because the options are encoded and contains HTML-Options Elements.
Encoding is not neccessary because the “class” itselfs ist already encoded:
$this->classesAnchorJSOptions[$anchorType] .= '<option ' . $selected . ' value="' . htmlspecialchars($class) . '"' . ($classStyle ? ' style="' . htmlspecialchars($classStyle) . '"' : '') . '>' . htmlspecialchars($classLabel) . '</option>';
Patch attached
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.