fix extraneous escape in comment username
This commit is contained in:
parent
fc001e7427
commit
1e540a2542
@ -210,7 +210,7 @@ def get_comments_html(result):
|
|||||||
else:
|
else:
|
||||||
avatar = ''
|
avatar = ''
|
||||||
html_result += comment_template.substitute(
|
html_result += comment_template.substitute(
|
||||||
author=html.escape(comment['author']),
|
author=comment['author'],
|
||||||
author_url = URL_ORIGIN + comment['author_url'],
|
author_url = URL_ORIGIN + comment['author_url'],
|
||||||
avatar = avatar,
|
avatar = avatar,
|
||||||
likes = str(comment['likes']) + ' likes' if str(comment['likes']) != '0' else '',
|
likes = str(comment['likes']) + ' likes' if str(comment['likes']) != '0' else '',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user