Issue Bug Closed

#77797Wrong escaping in indexed_search/Resources/Private/Partials/Rules.html

Frans Saris 09/02/16, 20:08 updated 10/17/17, 23:24

Description

The f:translate tags in the partial should be wrapped in <f:format.raw as the translation contains html tags

<f:if condition="{settings.displayRules}">
<div class="tx-indexedsearch-rules">
    <h2><f:format.raw><f:translate key="rules.headline" /></f:format.raw></h2>
    <p><f:format.raw><f:translate key="rules.text" /></f:format.raw></p>
</div>
</f:if>

Reviews 1