Commits

David Chambers committed 42a2d32

Added `slugify` filter to tags in tags template.

Comments (0)

Files changed (1)

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>