From e3813fcfcb3a6e5ccc9b81e7ea818bd6f9a74042 Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Sun, 11 Jul 2010 15:17:58 +0200 Subject: [PATCH] List ending is replaced by a blank line during html export. * org-html.el (org-export-html-preprocess): Replace `org-list-end-re' by a blank line during pre-process. --- lisp/org-html.el | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lisp/org-html.el b/lisp/org-html.el index a2b82ed33..d80a852f9 100644 --- a/lisp/org-html.el +++ b/lisp/org-html.el @@ -565,6 +565,8 @@ This may also be a function, building and inserting the postamble.") (goto-char (point-min)) (while (org-search-forward-unenclosed (org-item-re) nil 'move) (goto-char (org-list-bottom-point)) + (when (looking-at (org-list-end-re)) + (replace-match "")) (insert "ORG-LIST-END\n"))) ;;;###autoload