From d592f0b60ec5af47790217388c8840187a35e625 Mon Sep 17 00:00:00 2001 From: silverwind Date: Sun, 9 May 2021 16:54:56 +0200 Subject: [PATCH] Fix incorrect asset URL Fixes another regression from https://github.com/go-gitea/gitea/pull/15219. --- modules/templates/helper.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/templates/helper.go b/modules/templates/helper.go index fed15d67d69f8..9922cfb225f95 100644 --- a/modules/templates/helper.go +++ b/modules/templates/helper.go @@ -766,7 +766,7 @@ func ReactionToEmoji(reaction string) template.HTML { if val != nil { return template.HTML(val.Emoji) } - return template.HTML(fmt.Sprintf(`:%s:`, reaction, setting.StaticURLPrefix, reaction)) + return template.HTML(fmt.Sprintf(`:%s:`, reaction, setting.StaticURLPrefix, reaction)) } // RenderNote renders the contents of a git-notes file as a commit message.