summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ox-haunt.el7
1 files 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 "<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