2
0

Add QueryEscape to general funcmap (#17526)

QueryEscape was only added to the text funcmap. Add this to the main template funcmap
too.

Signed-off-by: Andrew Thornton <art27@cantab.net>
This commit is contained in:
zeripath
2021-11-02 15:00:30 +00:00
committed by GitHub
parent ecaf23ade7
commit e751628725

View File

@@ -379,6 +379,7 @@ func NewFuncMap() []template.FuncMap {
"MermaidMaxSourceCharacters": func() int {
return setting.MermaidMaxSourceCharacters
},
"QueryEscape": url.QueryEscape,
}}
}