add func Html2str()

This commit is contained in:
Unknown 2013-03-21 01:21:04 -04:00
parent 73a52c9844
commit 63d8881f4d
1 changed files with 1 additions and 0 deletions

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"