mirror of
https://github.com/gohugoio/hugo.git
synced 2024-05-11 05:54:58 +00:00
Disable shortcode processing for html files
May be enabled later, but then it will have to do the complete "shortcode dance". See ##674
This commit is contained in:
@ -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}
|
||||
}
|
||||
|
Reference in New Issue
Block a user