diff --git a/templates/comments/tags/comment_item.html b/templates/comments/tags/comment_item.html index aff1212..ab71fd2 100644 --- a/templates/comments/tags/comment_item.html +++ b/templates/comments/tags/comment_item.html @@ -24,9 +24,7 @@
{{ comment_item.created_time }}
回复给:@{{ comment_item.author.parent_comment.username }}
- {% autoescape on %} -

{{ comment_item.body|custom_markdown }}

- {% endautoescape %} +

{{ comment_item.body|escape|custom_markdown }}

-

{{ comment_item.body|custom_markdown }}

+

{{ comment_item.body|escape|custom_markdown }}