Merge pull request #13420 from CommanderRoot/patch-1

Remove double escaping
This commit is contained in:
Maurício Meneghini Fauth 2017-06-29 19:56:41 -03:00 committed by GitHub
commit f012039d47

View File

@ -3,7 +3,7 @@
{% if url is defined and url is iterable %}
<a{% if url['href'] is not empty %} href="{{ url['href'] }}"{% endif -%}
{%- if url['target'] is not empty %} target="{{ url['target'] }}"{% endif -%}
{%- if url['target'] is not empty %} target="{{ url['target']|raw }}"{% endif -%}
{%- if url['target'] is not empty and url['target'] == '_blank' %} rel="noopener noreferrer"{% endif -%}
{%- if url['id'] is not empty %} id="{{ url['id'] }}"{% endif -%}
{%- if url['class'] is not empty %} class="{{ url['class'] }}"{% endif -%}