From: bep Date: Wed, 14 Jan 2015 19:49:43 +0000 (+0100) Subject: Disable shortcode processing for html files X-Git-Tag: v0.13~191 X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=f0b3979a9fa0bb27d069fc3b4890850afd752238;p=brevno-suite%2Fhugo Disable shortcode processing for html files May be enabled later, but then it will have to do the complete "shortcode dance". See ##674 --- diff --git a/hugolib/handler_page.go b/hugolib/handler_page.go index 1b6dd237..73cd12a7 100644 --- 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} }