From 10c8acb12bedcfe8cec405a3dd55049e6c1d80e1 Mon Sep 17 00:00:00 2001 From: Joel da Rosa Date: Thu, 19 Jul 2018 10:48:26 -0300 Subject: [PATCH] Prevent html entity escaping --- 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 e4bbc1399809..2ef96defa296 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 6edc34207b81..fa4b989caad8 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" .}}