summaryrefslogtreecommitdiffstats
path: root/hugolib/shortcode.go
diff options
context:
space:
mode:
authorspf13 <steve.francia@gmail.com>2014-08-28 12:48:31 -0400
committerspf13 <steve.francia@gmail.com>2014-08-28 12:48:31 -0400
commit53b7d5b8a1a42cf19b76a7a901461bd1c2478368 (patch)
tree3c2e361d179a3eeafa3878117c8df9ef62030d3b /hugolib/shortcode.go
parent828401cbe6b3f86e1f86a97ad7298e8e72209c48 (diff)
Inner Shortcodes now treated as markdown. fixed #185
Diffstat (limited to 'hugolib/shortcode.go')
-rw-r--r--hugolib/shortcode.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/hugolib/shortcode.go b/hugolib/shortcode.go
index bfbb1efdb..823426738 100644
--- a/hugolib/shortcode.go
+++ b/hugolib/shortcode.go
@@ -93,7 +93,7 @@ func ShortcodesHandle(stringToParse string, p *Page, t Template) string {
var data = &ShortcodeWithPage{Params: params, Page: p}
if endStart > 0 {
s := stringToParse[leadEnd+3 : leadEnd+endStart]
- data.Inner = template.HTML(CleanP(ShortcodesHandle(s, p, t)))
+ data.Inner = template.HTML(renderBytes([]byte(CleanP(ShortcodesHandle(s, p, t))), p.guessMarkupType()))
remainder := CleanP(stringToParse[leadEnd+endEnd:])
return CleanP(stringToParse[:leadStart]) +