From 5da301bb703a0de08eda0be5f2a624cf77ee793f Mon Sep 17 00:00:00 2001 From: Lauris BH Date: Sat, 21 Jul 2018 01:39:40 +0300 Subject: [PATCH] Prevent html entity escaping (#4471) (#4485) --- templates/repo/branch/list.tmpl | 2 +- templates/repo/issue/view_content.tmpl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/repo/branch/list.tmpl b/templates/repo/branch/list.tmpl index e4bbc1399..2ef96defa 100644 --- a/templates/repo/branch/list.tmpl +++ b/templates/repo/branch/list.tmpl @@ -72,7 +72,7 @@ {{.i18n.Tr "repo.branch.delete_html"}}
-

{{.i18n.Tr "repo.branch.delete_desc"}}

+

{{.i18n.Tr "repo.branch.delete_desc" | Str2html}}

{{template "base/delete_modal_actions" .}} diff --git a/templates/repo/issue/view_content.tmpl b/templates/repo/issue/view_content.tmpl index 5271fcb17..2c6aea309 100644 --- a/templates/repo/issue/view_content.tmpl +++ b/templates/repo/issue/view_content.tmpl @@ -137,7 +137,7 @@ {{.i18n.Tr "repo.branch.delete" .HeadTarget }}
-

{{.i18n.Tr "repo.branch.delete_desc"}}

+

{{.i18n.Tr "repo.branch.delete_desc" | Str2html}}

{{template "base/delete_modal_actions" .}}