Commits

Roma Sokolov committed 6ea964b

control autoescape

Comments (0)

Files changed (1)

templates/macroses.jinja

 {%- macro show_tags(tags) -%}
 {%- for tag in tags -%}
-<span class="info"><a href="{{ url_for('get', tags=tag) }}">{{ tag }}</a></span>{% if not loop.last %}, {% endif %}{% endfor %}
+<span class="info"><a href="{{ url_for('get', tags=tag) }}">{{ tag|e }}</a></span>{% if not loop.last %}, {% endif %}
+{%- endfor -%}
 {%- endmacro -%}