mirror of
				https://github.com/go-gitea/gitea.git
				synced 2025-10-31 11:35:03 +01: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:
		
							parent
							
								
									e69521f029
								
							
						
					
					
						commit
						95da01c5cd
					
				| @ -379,6 +379,7 @@ func NewFuncMap() []template.FuncMap { | ||||
| 		"MermaidMaxSourceCharacters": func() int { | ||||
| 			return setting.MermaidMaxSourceCharacters | ||||
| 		}, | ||||
| 		"QueryEscape": url.QueryEscape, | ||||
| 	}} | ||||
| } | ||||
| 
 | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user