org-e-html.el (org-e-html-final-function): Turn on html-mode', not nxml-mode'

* org-e-html.el (org-e-html-final-function): Turn on
`html-mode', not `nxml-mode'.
This commit is contained in:
Bastien Guerry 2012-09-28 17:08:37 +02:00
parent f71db4e509
commit 79d3c289da

View file

@ -2915,7 +2915,7 @@ contextual information."
(defun org-e-html-final-function (contents backend info)
(if (not org-e-html-pretty-output) contents
(with-temp-buffer
(nxml-mode)
(html-mode)
(insert contents)
(indent-region (point-min) (point-max))
(buffer-substring-no-properties (point-min) (point-max)))))