Bug #80238
closedf:translate double escapes default values
0%
Description
<f:translate key="widget.pagination.next">»</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 &raquo;
instead of »
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 <p>hello world</p>
Updated by Gerrit Code Review over 7 years ago
- Status changed from New to Under Review
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/52012
Updated by Gerrit Code Review over 7 years ago
Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/52012
Updated by Gerrit Code Review over 7 years ago
Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/52012
Updated by Claus Due over 7 years ago
See https://github.com/TYPO3/Fluid/pull/270 for an explanation. This cannot be solved until a solution is made for handling escaping of individual arguments.
Updated by Georg Ringer almost 7 years ago
- Status changed from Under Review to Closed
impossible to fix, therefore closed.