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:
bep 2015-01-14 20:49:43 +01:00
parent 4f66acdce7
commit f0b3979a9f

View file

@ -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}
} }