1
0
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:
Unknown 2013-03-21 01:21:04 -04:00
parent 73a52c9844
commit 63d8881f4d

View File

@ -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"