mirror of
https://github.com/astaxie/beego.git
synced 2024-11-22 07:30:55 +00:00
add func Html2str()
This commit is contained in:
parent
73a52c9844
commit
63d8881f4d
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user