Don't use &nbsp in the tags widget, allow for degradation if screen width is insufficient

This commit is contained in:
Roberto Rosario
2014-06-29 15:37:50 -04:00
parent a65e3dece6
commit 3b7cb1cd3b

View File

@@ -46,4 +46,4 @@ def single_tag_widget(tag):
def get_single_tag_template(tag):
return '<li style="background: %s">%s</li>' % (tag.tagproperties_set.get().get_color_code(), escape(tag.name.replace(u' ', u'&nbsp;')))
return '<li style="background: %s">%s</li>' % (tag.tagproperties_set.get().get_color_code(), escape(tag.name))