Project

General

Profile

Actions

Bug #75838

closed

Anchor Classes not rendered in rtehtmlarea_wizard_element_browser

Added by Achim Fritz over 8 years ago. Updated over 8 years ago.

Status:
Closed
Priority:
Must have
Assignee:
Category:
RTE (rtehtmlarea + ckeditor)
Target version:
-
Start date:
2016-04-21
Due date:
% Done:

0%

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

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


Files

ElementBrowser.png (73.4 KB) ElementBrowser.png Achim Fritz, 2016-04-21 12:32
patch.diff (930 Bytes) patch.diff Achim Fritz, 2016-04-21 12:32

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