mirror of
https://github.com/astaxie/beego.git
synced 2025-06-19 14:50:40 +00:00
add func Html2str()
This commit is contained in:
@ -31,6 +31,7 @@ func init() {
|
||||
beegoTplFuncMap["date"] = Date
|
||||
beegoTplFuncMap["compare"] = Compare
|
||||
beegoTplFuncMap["substr"] = Substr
|
||||
beegoTplFuncMap["html2str"] = Html2str
|
||||
}
|
||||
|
||||
// MarkDown parses a string in MarkDown format and returns HTML. Used by the template parser as "markdown"
|
||||
|
Reference in New Issue
Block a user