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.