coerce markdown2.UnicodeWithAttrs to unicode in blog comments
This commit is contained in:
parent
5fc48f566f
commit
25dd92dbdb
@ -92,7 +92,7 @@ def add_comment(args=None):
|
||||
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)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user