diff options
author | zeripath <art27@cantab.net> | 2021-11-05 14:56:40 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-05 22:56:40 +0800 |
commit | dbdaa713c92f5321bf70646a404ead00da64e992 (patch) | |
tree | 8732384860b1dd33887d4d7a1038d0bcd429fbc0 /templates/repo/issue/view_content | |
parent | bc6df18fb35837b510dfa4daeec53fec32a55af7 (diff) | |
download | gitea-dbdaa713c92f5321bf70646a404ead00da64e992.tar.gz gitea-dbdaa713c92f5321bf70646a404ead00da64e992.zip |
Escape issue titles in comments list (#17555)
Signed-off-by: Andrew Thornton <art27@cantab.net>
Diffstat (limited to 'templates/repo/issue/view_content')
-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 cb95720e29..51d1e093c8 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}} |