add func Html2str()
Showing
1 changed file
with
1 additions
and
0 deletions
| ... | @@ -31,6 +31,7 @@ func init() { | ... | @@ -31,6 +31,7 @@ func init() { |
| 31 | beegoTplFuncMap["date"] = Date | 31 | beegoTplFuncMap["date"] = Date |
| 32 | beegoTplFuncMap["compare"] = Compare | 32 | beegoTplFuncMap["compare"] = Compare |
| 33 | beegoTplFuncMap["substr"] = Substr | 33 | beegoTplFuncMap["substr"] = Substr |
| 34 | beegoTplFuncMap["html2str"] = Html2str | ||
| 34 | } | 35 | } |
| 35 | 36 | ||
| 36 | // MarkDown parses a string in MarkDown format and returns HTML. Used by the template parser as "markdown" | 37 | // MarkDown parses a string in MarkDown format and returns HTML. Used by the template parser as "markdown" | ... | ... |
-
Please register or sign in to post a comment