Issue Bug Closed

#80238f:translate double escapes default values

Frans Saris 03/11/17, 18:29 updated 01/10/18, 16:09

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;amp;raquo; instead of &amp;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 &amp;lt;p&amp;gt;hello world&amp;lt;/p&amp;gt;

Reviews 1