Skip to content

Commit

Permalink
Merge pull request liangliangyy#610 from liangliangyy/dev
Browse files Browse the repository at this point in the history
修复部分bug
  • Loading branch information
liangliangyy authored Oct 8, 2022
2 parents b0eda75 + 77d85d3 commit 888c0cf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions templates/comments/tags/comment_item.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,7 @@
<div>{{ comment_item.created_time }}</div>
<div>回复给:@{{ comment_item.author.parent_comment.username }}</div>
</div>
{% autoescape on %}
<p>{{ comment_item.body|custom_markdown }}</p>
{% endautoescape %}
<p>{{ comment_item.body|escape|custom_markdown }}</p>
<div class="reply"><a rel="nofollow" class="comment-reply-link"
href="javascript:void(0)"
onclick="do_reply({{ comment_item.pk }})"
Expand Down
2 changes: 1 addition & 1 deletion templates/comments/tags/comment_item_tree.html
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
{% endif %}
</p>

<p>{{ comment_item.body|custom_markdown }}</p>
<p>{{ comment_item.body|escape|custom_markdown }}</p>

<div class="reply"><a rel="nofollow" class="comment-reply-link"
href="javascript:void(0)"
Expand Down

0 comments on commit 888c0cf

Please sign in to comment.