mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-21 20:46:30 -05: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:
parent
4f66acdce7
commit
f0b3979a9f
1 changed files with 2 additions and 1 deletions
|
@ -81,7 +81,8 @@ type htmlHandler struct {
|
||||||
|
|
||||||
func (h htmlHandler) Extensions() []string { return []string{"html", "htm"} }
|
func (h htmlHandler) Extensions() []string { return []string{"html", "htm"} }
|
||||||
func (h htmlHandler) PageConvert(p *Page, t tpl.Template) HandledResult {
|
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)
|
p.Content = helpers.BytesToHTML(p.rawContent)
|
||||||
return HandledResult{err: nil}
|
return HandledResult{err: nil}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue