Commit 402b56ea authored by Serge S. Koval's avatar Serge S. Koval

Fixed #889 - Resolve compatibility issue with jinja2 htmlcompress plugin

parent 55e5fb93
......@@ -5,9 +5,9 @@
{% if icon_type == 'glyph' %}
<i class="{{ icon_value }}"></i>
{% elif icon_type == 'image' %}
<img src="{{ url_for('static', filename=icon_value) }}" alt="menu image"></img>
<img src="{{ url_for('static', filename=icon_value) }}" alt="menu image">
{% elif icon_type == 'image-url' %}
<img src="item.icon_value" alt="menu image"></img>
<img src="item.icon_value" alt="menu image">
{% endif %}
{% endif %}
{%- endmacro %}
......
......@@ -5,9 +5,9 @@
{% if icon_type == 'glyph' %}
<i class="glyphicon {{ icon_value }}"></i>
{% elif icon_type == 'image' %}
<img src="{{ url_for('static', filename=icon_value) }}" alt="menu image"></img>
<img src="{{ url_for('static', filename=icon_value) }}" alt="menu image">
{% elif icon_type == 'image-url' %}
<img src="item.icon_value" alt="menu image"></img>
<img src="item.icon_value" alt="menu image">
{% endif %}
{% endif %}
{%- endmacro %}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment