do not remove space between attributes
This piece of code adds a space then removes it immediately. One could think that only the space after the last element of the loop is removed, but this is not the case. Space between loop elements are also removed.
This commit is contained in:
parent
328ec0133e
commit
8d2b8881f5
@ -304,7 +304,7 @@
|
|||||||
|
|
||||||
{%- block widget_container_attributes -%}
|
{%- block widget_container_attributes -%}
|
||||||
{% if id is not empty %}id="{{ id }}" {% endif %}
|
{% if id is not empty %}id="{{ id }}" {% endif %}
|
||||||
{%- for attrname, attrvalue in attr %}{{ attrname }}="{{ attrvalue }}" {%- endfor -%}
|
{%- for attrname, attrvalue in attr %}{{ attrname }}="{{ attrvalue }}" {% endfor -%}
|
||||||
{%- endblock widget_container_attributes -%}
|
{%- endblock widget_container_attributes -%}
|
||||||
|
|
||||||
{%- block button_attributes -%}
|
{%- block button_attributes -%}
|
||||||
|
Reference in New Issue
Block a user