Issue Bug Closed

#75812Class selector in link browser is empty

Helfried Altkofer 04/20/16, 14:03 updated 04/20/16, 14:07

Description

The class selector in the link browser ist empty in 6.2.21, but working in 6.2.19.

This is because the option elements are not shown in the browser due to usage of function htmlspecialchars.

See line 874 in typo3/sysext/rtehtmlarea/Classes/BrowseLinks.php

public function addClassSelector() {
$selectClass = ‘’;
if ($this->classesAnchorJSOptions[$this->act]) {
$selectClass = ‘



<select name="anchor_class" onchange="' . htmlspecialchars($this->getClassOnChangeJS()) . ‘”><br /> ‘ . htmlspecialchars($this->classesAnchorJSOptions[$this->act]) . ‘<br /> </select><br /> </td><br /> </tr>‘;<br /> }<br /> return $selectClass;<br />}</p>"></select>

Reviews 0

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