Project

General

Profile

Actions

Bug #80238

closed

f:translate double escapes default values

Added by Frans Saris over 7 years ago. Updated almost 7 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
Fluid
Target version:
-
Start date:
2017-03-11
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
8
PHP Version:
Tags:
Complexity:
Is Regression:
Yes
Sprint Focus:
Stabilization Sprint

Description

<f:translate key="widget.pagination.next">&raquo;</f:translate>

When the key widget.pagination.next isn't found and the fallback/default value is used this gets double escaped.

So output is &amp;raquo; instead of &raquo;

Same for html tags:

<f:translate key="widget.pagination.next" htmlEscape="1"><p>hello world</p></f:translate>

Output in TYPO3 7.6 <p>hello world</p>

Output in TYPO3 8.6 &lt;p&gt;hello world&lt;/p&gt;


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Task #75575: Streamline escaping for ViewHelpers of all sysextsClosedBenni Mack2016-04-13

Actions
Actions

Also available in: Atom PDF