commit f0b3979a9fa0bb27d069fc3b4890850afd752238
parent 4f66acdce7564fd4960fa2a2122069bcea8ec87d
Author: bep <bjorn.erik.pedersen@gmail.com>
Date: Wed, 14 Jan 2015 20:49:43 +0100
Disable shortcode processing for html files
May be enabled later, but then it will have to do the complete "shortcode dance".
See ##674
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/hugolib/handler_page.go b/hugolib/handler_page.go
@@ -81,7 +81,8 @@ type htmlHandler struct {
func (h htmlHandler) Extensions() []string { return []string{"html", "htm"} }
func (h htmlHandler) PageConvert(p *Page, t tpl.Template) HandledResult {
- p.ProcessShortcodes(t)
+ // see #674 - disabled by bjornerik for now
+ // p.ProcessShortcodes(t)
p.Content = helpers.BytesToHTML(p.rawContent)
return HandledResult{err: nil}
}