Skip to content

Commit dbdaa71

Browse files
authored
Escape issue titles in comments list (#17555)
Signed-off-by: Andrew Thornton <[email protected]>
1 parent bc6df18 commit dbdaa71

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/repo/issue/view_content/comments.tmpl

+1-1
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@
158158
{{if eq .RefAction 3}}</del>{{end}}
159159

160160
<div class="detail">
161-
<span class="text grey"><a href="{{.RefIssueHTMLURL}}"><b>{{.RefIssueTitle | Str2html}}</b> {{.RefIssueIdent | Str2html}}</a></span>
161+
<span class="text grey"><a href="{{.RefIssueHTMLURL}}"><b>{{.RefIssueTitle}}</b> {{.RefIssueIdent}}</a></span>
162162
</div>
163163
</div>
164164
{{else if eq .Type 4}}

0 commit comments

Comments
 (0)