smart_unicode instead of unicode

This commit is contained in:
Slavik Svyrydiuk 2015-12-02 08:08:38 +01:00
parent e9504d2e42
commit dc8829c991

View file

@ -1145,7 +1145,7 @@ class Feed(models.Model):
# Don't mangle stories with code, just use new
story_content_diff = story_content
else:
story_content_diff = htmldiff(unicode(original_content), unicode(story_content))
story_content_diff = htmldiff(smart_unicode(original_content), smart_unicode(story_content))
else:
story_content_diff = original_content
# logging.debug("\t\tDiff: %s %s %s" % diff.getStats())