diff options
author | zeripath <art27@cantab.net> | 2021-11-05 23:20:51 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-05 23:20:51 +0000 |
commit | 15b44496ec18dab2af2ac71418e88e3390074702 (patch) | |
tree | e60e58fdbd0602592523592f70af8d7b4f077deb | |
parent | 0d0ff5e32a0aa519f756aadf75a906a710505ffc (diff) | |
download | gitea-15b44496ec18dab2af2ac71418e88e3390074702.tar.gz gitea-15b44496ec18dab2af2ac71418e88e3390074702.zip |
Escape issue titles in comments list (#17555) (#17556)
Signed-off-by: Andrew Thornton <art27@cantab.net>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
-rw-r--r-- | templates/repo/issue/view_content/comments.tmpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/repo/issue/view_content/comments.tmpl b/templates/repo/issue/view_content/comments.tmpl index dcc0401c99..8908bce29c 100644 --- a/templates/repo/issue/view_content/comments.tmpl +++ b/templates/repo/issue/view_content/comments.tmpl @@ -158,7 +158,7 @@ {{if eq .RefAction 3}}</del>{{end}} <div class="detail"> - <span class="text grey"><a href="{{.RefIssueHTMLURL}}"><b>{{.RefIssueTitle | Str2html}}</b> {{.RefIssueIdent | Str2html}}</a></span> + <span class="text grey"><a href="{{.RefIssueHTMLURL}}"><b>{{.RefIssueTitle}}</b> {{.RefIssueIdent}}</a></span> </div> </div> {{else if eq .Type 4}} |