63d8881f by Unknown

add func Html2str()

1 parent 73a52c98
...@@ -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"
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!