Properly fix #13420
Signed-off-by: Tobias Speicher <rootcommander@gmail.com>
This commit is contained in:
parent
0f4baa8967
commit
f52faf1f7f
@ -2,8 +2,8 @@
|
||||
{%- if class is not empty %} class="{{ class }}"{% endif %}>
|
||||
|
||||
{% 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']|raw }}"{% endif -%}
|
||||
<a{% if url['href'] is not empty %} href="{{ url['href']|raw }}"{% endif -%}
|
||||
{%- if url['target'] is not empty %} target="{{ url['target'] }}"{% 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 -%}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user