From 20d397d65cfc960b42f5eb95c06a9b64ca3ee6fe Mon Sep 17 00:00:00 2001 From: "Jakob L. Kreuze" Date: Tue, 30 Apr 2019 14:33:23 -0400 Subject: Stop wrapping output in
Wrapping the exported HTML in
is just a hack. I've submitted a patch for 'html-reader, which properly solves the issue. --- ox-haunt.el | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/ox-haunt.el b/ox-haunt.el index f154a09..c99ed5b 100644 --- a/ox-haunt.el +++ b/ox-haunt.el @@ -115,10 +115,9 @@ valid executable." (buffer-string)) "---\n" ;; Output the article contents. - (let ((html (concat "
" contents "
"))) - (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 -- cgit v1.3