Add back non breakable spaces to the tag widget until a better HTML widget is coded

This commit is contained in:
Roberto Rosario
2014-07-03 13:13:13 -04:00
parent a39d04e9c2
commit 2dc6ad226f

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))
return '<li style="background: %s">%s</li>' % (tag.tagproperties_set.get().get_color_code(), escape(tag.name).replace(u' ', u'&nbsp;'))