diff options
author | bep <bjorn.erik.pedersen@gmail.com> | 2015-01-14 20:49:43 +0100 |
---|---|---|
committer | bep <bjorn.erik.pedersen@gmail.com> | 2015-01-14 20:49:43 +0100 |
commit | f0b3979a9fa0bb27d069fc3b4890850afd752238 (patch) | |
tree | f64f05da93a462c269749b938877a7eaad099c6a /hugolib/handler_page.go | |
parent | 4f66acdce7564fd4960fa2a2122069bcea8ec87d (diff) |
Disable shortcode processing for html files
May be enabled later, but then it will have to do the complete "shortcode dance".
See ##674
Diffstat (limited to 'hugolib/handler_page.go')
-rw-r--r-- | hugolib/handler_page.go | 3 |
1 files changed, 2 insertions, 1 deletions
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} } |