commit | 25dd92dbdb1072a0034e895117bf7d2a9cab6077 | [log] [tgz] |
---|---|---|
author | Anand Doshi <anand@iwebnotes.com> | Fri Aug 17 23:36:11 2012 +0530 |
committer | Anand Doshi <anand@iwebnotes.com> | Fri Aug 17 23:36:11 2012 +0530 |
tree | d7b1379a08489cbde40af0a269888e713f908ae5 | |
parent | 5fc48f566fcbd25a955aad9b647980f78f482168 [diff] |
coerce markdown2.UnicodeWithAttrs to unicode in blog comments
diff --git a/erpnext/website/blog.py b/erpnext/website/blog.py index e89e2df..41a6c27 100644 --- a/erpnext/website/blog.py +++ b/erpnext/website/blog.py
@@ -92,7 +92,7 @@ import website.web_cache if not args: args = webnotes.form_dict - args['comment'] = markdown2.markdown(args.get('comment') or '') + args['comment'] = unicode(markdown2.markdown(args.get('comment') or '')) comment = webnotes.widgets.form.comments.add_comment(args)