From 82f25397a156e34d21339a5499c9a52c1b46f333 Mon Sep 17 00:00:00 2001 From: Manuel Giraud Date: Tue, 8 Mar 2011 15:22:30 +0100 Subject: [PATCH 3/3] correct tag closing for body-only --- lisp/org-html.el | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/lisp/org-html.el b/lisp/org-html.el index 54cbf36..c60c90d 100644 --- a/lisp/org-html.el +++ b/lisp/org-html.el @@ -1715,7 +1715,7 @@ lang=\"%s\" xml:lang=\"%s\"> (if org-export-html-with-timestamp (insert org-export-html-html-helper-timestamp)) - (insert "\n\n\n\n") + (unless body-only (insert "\n\n\n\n")) (unless (plist-get opt-plist :buffer-will-be-killed) (normal-mode) -- 1.7.1