From dbdaa713c92f5321bf70646a404ead00da64e992 Mon Sep 17 00:00:00 2001
From: zeripath <art27@cantab.net>
Date: Fri, 5 Nov 2021 14:56:40 +0000
Subject: [PATCH] Escape issue titles in comments list (#17555)

Signed-off-by: Andrew Thornton <art27@cantab.net>
---
 templates/repo/issue/view_content/comments.tmpl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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}}