]> git.openstreetmap.org Git - osqa.git/commitdiff
Fixes the problem reported in http://meta.osqa.net/questions/4581/unicodeencodeerror...
authorhernani <hernani@0cfe37f9-358a-4d5e-be75-b63607b5c754>
Sat, 28 Aug 2010 01:20:14 +0000 (01:20 +0000)
committerhernani <hernani@0cfe37f9-358a-4d5e-be75-b63607b5c754>
Sat, 28 Aug 2010 01:20:14 +0000 (01:20 +0000)
git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@574 0cfe37f9-358a-4d5e-be75-b63607b5c754

forum/feed.py

index e514e483b72eda4cada726cfa605e8cc31150355..d91fc22c4e1b7b0d251cf2e3105d71c416650af3 100644 (file)
@@ -23,7 +23,7 @@ class BaseNodeFeed(Feed):
 
     def __init__(self, request, title, description, url):
         self._title = title
-        self._description = mark_safe(description)
+        self._description = mark_safe(unicode(description))
         self._url = url
 
         if old_version: