Workaround for a weird Unicode problem.
[prawokultury.git] / chunks / templatetags / chunks.py
index 8b306ec..111c34e 100644 (file)
@@ -21,7 +21,7 @@ def chunk(key, cache_time=0):
         n = Chunk(key=key)
         n.save()
         return ''
-    return mark_safe(content)
+    return mark_safe(unicode(content))
 
 
 @register.simple_tag