From 61ce6164b9c9a6e378001ba92c93402a99eb5313 Mon Sep 17 00:00:00 2001 From: Jonas Franz Date: Mon, 19 Mar 2018 12:17:38 +0100 Subject: [PATCH] Escape branch name in dropdown menu Signed-off-by: Jonas Franz --- templates/repo/branch_dropdown.tmpl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/repo/branch_dropdown.tmpl b/templates/repo/branch_dropdown.tmpl index ef34cc5cf..b7f4c9121 100644 --- a/templates/repo/branch_dropdown.tmpl +++ b/templates/repo/branch_dropdown.tmpl @@ -47,9 +47,9 @@
{{if .IsViewBranch}} - {{.i18n.Tr "repo.branch.create_from" .BranchName | Safe}} + {{.i18n.Tr "repo.branch.create_from" .BranchName}} {{else}} - {{.i18n.Tr "repo.branch.create_from" (ShortSha .BranchName) | Safe}} + {{.i18n.Tr "repo.branch.create_from" (ShortSha .BranchName)}} {{end}}