diff --git a/lisp/org-html.el b/lisp/org-html.el index f6108fc..daf61d2 100644 --- a/lisp/org-html.el +++ b/lisp/org-html.el @@ -1325,7 +1325,10 @@ lang=\"%s\" xml:lang=\"%s\"> org-export-html-preamble-format)) (cadr (assoc "en" org-export-html-preamble-format))) `((?t . ,title) (?a . ,author) - (?d . ,date) (?e . ,email))))))))) + (?d . ,date) (?e . ,email)))))))) + + ;; insert opening tag for body + (insert "\n
\n")) (if (and org-export-with-toc (not body-only)) (progn @@ -1721,6 +1724,8 @@ lang=\"%s\" xml:lang=\"%s\"> ;; export html postamble (unless body-only + ;; insert closing tag for body + (insert "
") (let ((html-post (plist-get opt-plist :html-postamble)) (email (mapconcat (lambda(e) @@ -1732,12 +1737,13 @@ lang=\"%s\" xml:lang=\"%s\"> (number-to-string emacs-major-version)))) (when (plist-get opt-plist :html-postamble) (cond ((stringp html-post) - (insert "
\n") + ;; (insert "
\n") (insert (format-spec html-post `((?a . ,author) (?e . ,email) (?d . ,date) (?c . ,creator-info) (?v . ,html-validation-link)))) - (insert "
")) + ;; (insert "
") + ) ((functionp html-post) (funcall html-post opt-plist)) ((eq html-post 'auto)