Project

General

Profile

Actions

Bug #72330

closed

HTML Tags in image caption textfield get escaped

Added by Emiliano Kamppeter over 8 years ago. Updated over 8 years ago.

Status:
Rejected
Priority:
Won't have this time
Assignee:
-
Category:
-
Target version:
-
Start date:
2015-12-18
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
6.2
PHP Version:
Tags:
caption, html tags
Complexity:
Is Regression:
No
Sprint Focus:

Description

Please see the attached screenshot.
When adding an image caption with HTML tags, these are escaped and don't work.
Here's an example of the generated HTML code:

<figcaption class="csc-textpic-caption">
    Florian Schmidt<br>
    &lt;i&gt;Affinities&lt;/i&gt;<br>
    Installation view
</figcaption>

Neither

tt_content.image.20.caption.1.stdWrap.htmlSpecialChars = 1

nor
tt_content.image.20.caption.1.parseFunc.allowTags = B,I,U,A,IMG,BR,SUB,SUP,P,STRONG,EM,LI,UL,OL

seem to work.


Files

figcaption.png (13.6 KB) figcaption.png Emiliano Kamppeter, 2015-12-18 23:35

Related issues 1 (0 open1 closed)

Has duplicate TYPO3 Core - Bug #72443: ce image: html tags within image description are rendered improperlyRejected2015-12-26

Actions
Actions #1

Updated by Wouter Wolters over 8 years ago

  • Status changed from New to Closed

Hi,

This is true as of now. Please read https://typo3.org/teams/security/security-bulletins/typo3-core/typo3-core-sa-2015-013/ carefully.
It is explained why this happens now.

Actions #2

Updated by Anja Leichsenring over 8 years ago

  • Status changed from Closed to Rejected
  • Priority changed from Should have to Won't have this time
Actions

Also available in: Atom PDF