diff --git a/modules/templates/helper.go b/modules/templates/helper.go index 61d926ee8af6..991816c10332 100644 --- a/modules/templates/helper.go +++ b/modules/templates/helper.go @@ -379,6 +379,7 @@ func NewFuncMap() []template.FuncMap { "MermaidMaxSourceCharacters": func() int { return setting.MermaidMaxSourceCharacters }, + "QueryEscape": url.QueryEscape, }} }