From 77d85d30c71ec7d47a70d8898abe8cbbe9cd45b6 Mon Sep 17 00:00:00 2001 From: liangliangyy Date: Sat, 8 Oct 2022 17:43:56 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E9=83=A8=E5=88=86bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- templates/comments/tags/comment_item.html | 4 +--- templates/comments/tags/comment_item_tree.html | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) 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 }}