aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--modules/templates/helper.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/templates/helper.go b/modules/templates/helper.go
index 61d926ee8a..991816c103 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,
}}
}