[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[O] Bug: [PATCH] org-export-as-html returns invalid value [7.5]
From: |
Yuhei Maeda |
Subject: |
[O] Bug: [PATCH] org-export-as-html returns invalid value [7.5] |
Date: |
Wed, 22 Jun 2011 21:59:56 +0900 |
hi.
When BODY-ONLY is t, org-export-as-html returns invalid value.
org-export-as-html is function defined on org-html.el
in detail, it includes "\n</div>\n</body>\n</html>\n" at the end of
return value.
PATCH is below.
org-html.el
@@ -1714,8 +1714,8 @@
(if org-export-html-with-timestamp
(insert org-export-html-html-helper-timestamp))
-
- (insert "\n</div>\n</body>\n</html>\n")
+ (unless body-only
+ (insert "\n</div>\n</body>\n</html>\n"))
(unless (plist-get opt-plist :buffer-will-be-killed)
(normal-mode)
Emacs : GNU Emacs 23.2.1 (i686-pc-linux-gnu, GTK+ Version 2.24.4)
of 2011-04-04 on rothera, modified by Debian
Package: Org-mode version 7.5
- [O] Bug: [PATCH] org-export-as-html returns invalid value [7.5],
Yuhei Maeda <=