diff --git a/modules/consent/templates/consentform.twig b/modules/consent/templates/consentform.twig index e6674d7b1a9100f36e3b97578ba4bb35ce2151b9..ca07f84f7e6c7e041370a354284aa4d8ef51ff3f 100644 --- a/modules/consent/templates/consentform.twig +++ b/modules/consent/templates/consentform.twig @@ -12,18 +12,18 @@ <p>{{ consent_purpose }}</p> {% endif %} -<form id="consent_yes" action="{{ yesTarget|escape('url') }}"> +<form id="consent_yes" action="{{ yesTarget }}"> {% if usestorage is defined %} <input type="checkbox" name="saveconsent"{% if checked %} checked="checked"{% endif %} value="1" /> {{ '{consent:consent:remember}'|trans }} {% endif %} - <input type="hidden" name="StateId" value="{{ stateId|escape('url') }}" /> + <input type="hidden" name="StateId" value="{{ stateId }}" /> <button type="submit" name="yes" class="btn" id="yesbutton">{{ '{consent:consent:yes}'|trans }}</button> </form> -<form id="consent_no" action="{{ noTarget|escape('url') }}"> - <input type="hidden" name="StateId" value="{{ stateId|escape('url') }}" /> +<form id="consent_no" action="{{ noTarget }}"> + <input type="hidden" name="StateId" value="{{ stateId }}" /> <button type="submit" class="btn" name="no" id="nobutton">{{ '{consent:consent:no}'|trans }}</button> </form> diff --git a/modules/consent/templates/noconsent.twig b/modules/consent/templates/noconsent.twig index f9b623aa01a46f3127dd1bb30fafe1efbd201317..b76036697d42f9335620169632d5aabdf946ca0d 100644 --- a/modules/consent/templates/noconsent.twig +++ b/modules/consent/templates/noconsent.twig @@ -5,12 +5,12 @@ <p>{{ noconsent_text }}</p> {% if resumeFrom %} - <p><a href="{{ resumeFrom|escape('url') }}">{{ '{consent:consent:noconsent_return}'|trans }}</a></p> + <p><a href="{{ resumeFrom }}">{{ '{consent:consent:noconsent_return}'|trans }}</a></p> {% endif %} {% if aboutService %} - <p><a href="{{ aboutService|escape('url') }}">{{ '{consent:consent:noconsent_goto_about}'|trans }}</a></p> + <p><a href="{{ aboutService }}">{{ '{consent:consent:noconsent_goto_about}'|trans }}</a></p> {% endif %} - <p><a href="{{ logoutLink|escape('url') }}">{{ noconsent_abort }}</a></p> + <p><a href="{{ logoutLink }}">{{ noconsent_abort }}</a></p> {% endblock %}