From 63d8881f4d3fad646e6de760ba10e7ce76926c1c Mon Sep 17 00:00:00 2001 From: Unknown Date: Thu, 21 Mar 2013 01:21:04 -0400 Subject: [PATCH] add func Html2str() --- template.go | 1 + 1 file changed, 1 insertion(+) diff --git a/template.go b/template.go index ed21ccda..3e0df9a8 100644 --- a/template.go +++ b/template.go @@ -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"