Project

General

Profile

Actions

Bug #75812

closed

Class selector in link browser is empty

Added by Helfried Altkofer over 8 years ago. Updated over 8 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
-
Target version:
-
Start date:
2016-04-20
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
6.2
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

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 = '
<tr>
<td><label>' . $GLOBALS['LANG']->getLL('anchor_class', TRUE) . ':</label></td>
<td colspan="3">
<select name="anchor_class" onchange="' . htmlspecialchars($this->getClassOnChangeJS()) . '">
' . htmlspecialchars($this->classesAnchorJSOptions[$this->act]) . '
</select>
</td>
</tr>';
}
return $selectClass;
}


Related issues 1 (0 open1 closed)

Is duplicate of TYPO3 Core - Bug #75548: RTE lacks dropdown content after updating to 6.2.21ClosedMarkus Klein2016-04-12

Actions
Actions

Also available in: Atom PDF