summaryrefslogtreecommitdiffstats
path: root/askbot/templatetags
diff options
context:
space:
mode:
authorEvgeny Fadeev <evgeny.fadeev@gmail.com>2011-08-03 09:36:16 -0400
committerEvgeny Fadeev <evgeny.fadeev@gmail.com>2011-08-03 09:36:16 -0400
commit8d2355bb381540740e81804ed56cce92ca4d0a69 (patch)
tree5dcb063cc9c4d955e490f5129ccedacd6fca07b1 /askbot/templatetags
parente4c1ac6ae6921c9c6efc8d3fe2e0f1bbffcc5936 (diff)
downloadaskbot-8d2355bb381540740e81804ed56cce92ca4d0a69.tar.gz
askbot-8d2355bb381540740e81804ed56cce92ca4d0a69.tar.bz2
askbot-8d2355bb381540740e81804ed56cce92ca4d0a69.zip
fixed the unicode issue in template filter collapse and a misuse of a function in user_stats.html
Diffstat (limited to 'askbot/templatetags')
-rw-r--r--askbot/templatetags/extra_filters_jinja.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/askbot/templatetags/extra_filters_jinja.py b/askbot/templatetags/extra_filters_jinja.py
index 94bd304c..b74502df 100644
--- a/askbot/templatetags/extra_filters_jinja.py
+++ b/askbot/templatetags/extra_filters_jinja.py
@@ -41,7 +41,7 @@ def country_flag_url(country_code):
@register.filter
def collapse(input):
- input = str(input)
+ input = unicode(input)
return ' '.join(input.split())
@register.filter