~jakob/ox-haunt

20d397d65cfc960b42f5eb95c06a9b64ca3ee6fe — Jakob L. Kreuze 5 years ago 906c50b
Stop wrapping output in <article>

Wrapping the exported HTML in <article> is just a hack. I've submitted a
patch for 'html-reader, which properly solves the issue.
1 files changed, 3 insertions(+), 4 deletions(-)

M ox-haunt.el
M ox-haunt.el => ox-haunt.el +3 -4
@@ 115,10 115,9 @@ valid executable."
     (buffer-string))
   "---\n"
   ;; Output the article contents.
   (let ((html (concat "<article>" contents "</article>")))
     (if ox-haunt-tidy-html
         (ox-haunt--tidy-html html)
       html))))
   (if ox-haunt-tidy-html
       (ox-haunt--tidy-html contents)
     contents)))

;;;###autoload
(defun ox-haunt-export-as-html