mirror of
				https://gitee.com/gitea/gitea
				synced 2025-11-04 16:40:24 +08:00 
			
		
		
		
	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:
		@@ -379,6 +379,7 @@ func NewFuncMap() []template.FuncMap {
 | 
			
		||||
		"MermaidMaxSourceCharacters": func() int {
 | 
			
		||||
			return setting.MermaidMaxSourceCharacters
 | 
			
		||||
		},
 | 
			
		||||
		"QueryEscape": url.QueryEscape,
 | 
			
		||||
	}}
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user