add func Html2str()
This commit is contained in:
		
							parent
							
								
									73a52c9844
								
							
						
					
					
						commit
						63d8881f4d
					
				| @ -31,6 +31,7 @@ func init() { | |||||||
| 	beegoTplFuncMap["date"] = Date | 	beegoTplFuncMap["date"] = Date | ||||||
| 	beegoTplFuncMap["compare"] = Compare | 	beegoTplFuncMap["compare"] = Compare | ||||||
| 	beegoTplFuncMap["substr"] = Substr | 	beegoTplFuncMap["substr"] = Substr | ||||||
|  | 	beegoTplFuncMap["html2str"] = Html2str | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| // MarkDown parses a string in MarkDown format and returns HTML. Used by the template parser as "markdown" | // MarkDown parses a string in MarkDown format and returns HTML. Used by the template parser as "markdown" | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user