From f0b3979a9fa0bb27d069fc3b4890850afd752238 Mon Sep 17 00:00:00 2001 From: bep Date: Wed, 14 Jan 2015 20:49:43 +0100 Subject: [PATCH] Disable shortcode processing for html files May be enabled later, but then it will have to do the complete "shortcode dance". See ##674 --- hugolib/handler_page.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/hugolib/handler_page.go b/hugolib/handler_page.go index 1b6dd2378..73cd12a79 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} }