Issue Bug Closed

#75662Cannot choose "Style" in Insert Link Popup - false htmlentities

Andreas Moeller 04/15/16, 13:59 updated 04/15/16, 14:01

Description

Hi there,
I installed a fresh version of TYPO3 6.2.21

When I try to insert a link into an RTE editor, the “Insert Link” Popup opens. But the field “Style:” is disabled.
The reason is, that the OPTIONS-Tags inside the HTML code are escaped by htmlentities.

The HTML source code of the TYPO3 backend looks like this:

<select name="anchor_class" onchange="some JS ...">
    &lt;option  value=""&gt;&lt;/option&gt;&lt;option selected="selected" value="internal-link"&gt;internal-link&lt;/option&gt;&lt;option  value="internal-link-new-window"&gt;internal-link-new-window&lt;/option&gt;
</select>

It should look like this:

<select name="anchor_class" onchange="some JS ...">
    <option  value=""></option><option selected="selected" value="internal-link">internal-link</option><option  value="internal-link-new-window">internal-link-new-window</option>
</select>

Regards,
Andreas

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.