Commits

David Chambers  committed 42a2d32

Added `slugify` filter to tags in tags template.

  • Participants
  • Parent commits f1f2215

Comments (0)

Files changed (1)

File templates/tags.dhtml

 	{% if tags %}
 			<dl id="tags">
 		{% for tag, count in tags %}
-				<dt><a href="{% url mango.views.tagged_as tag %}">{{ tag }}</a></dt>
+				<dt><a href="{% url mango.views.tagged_as tag %}">{{ tag|slugify }}</a></dt>
 				<dd>{{ count }}</dd>
 		{% endfor %}
 			</dl>