Skip to content
This repository has been archived by the owner on Mar 5, 2021. It is now read-only.

Commit

Permalink
Eliminate unwanted whitespace from link template
Browse files Browse the repository at this point in the history
  • Loading branch information
evildmp committed Dec 2, 2014
1 parent b177aab commit 999196c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions links/templates/links/cms_plugins/links.html
@@ -1,9 +1,8 @@
{% spaceless %}
{% autoescape off %}
{% if object.insert_as == 0 %}

{% for item in links %}
<a href="{{ item.url }}"{% if item.html_title_attribute %} title="{{ item.html_title_attribute }}"{% endif %}>{{ item }}</a>{{ item.separator }}
{% endfor %}
{% for item in links %}<a href="{{ item.url }}"{% if item.html_title_attribute %} title="{{ item.html_title_attribute }}"{% endif %}>{{ item }}</a>{{ item.separator }}{% endfor %}

{% elif object.insert_as == 2 %}
{% for item in links %}
Expand All @@ -21,3 +20,4 @@

{% endif %}
{% endautoescape %}
{% endspaceless %}

0 comments on commit 999196c

Please sign in to comment.