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.
This commit is contained in:
Nicolas Goaziou 2010-07-11 15:17:58 +02:00
parent a0a86fbba0
commit e3813fcfcb
1 changed files with 2 additions and 0 deletions

View File

@ -565,6 +565,8 @@ This may also be a function, building and inserting the postamble.")
(goto-char (point-min)) (goto-char (point-min))
(while (org-search-forward-unenclosed (org-item-re) nil 'move) (while (org-search-forward-unenclosed (org-item-re) nil 'move)
(goto-char (org-list-bottom-point)) (goto-char (org-list-bottom-point))
(when (looking-at (org-list-end-re))
(replace-match ""))
(insert "ORG-LIST-END\n"))) (insert "ORG-LIST-END\n")))
;;;###autoload ;;;###autoload