0
0
Fork 1
mirror of https://git.savannah.gnu.org/git/emacs/org-mode.git synced 2024-07-15 22:46:26 +00:00

Open a new paragraph when closing a list in HTML and DocBook

This commit is contained in:
Nicolas Goaziou 2011-03-15 21:51:19 +01:00
parent c295c09fb2
commit 87c427981f
2 changed files with 6 additions and 2 deletions

View file

@ -1371,7 +1371,9 @@ the alist of previous items."
"</listitem></varlistentry>\n"
"</listitem>\n"))
;; We're ending last item of the list: end list.
(when lastp (insert (format "</%slist>\n" type)))))
(when lastp
(insert (format "</%slist>\n" type))
(org-export-docbook-open-para))))
(funcall get-closings pos))
(cond
;; At an item: insert appropriate tags in export buffer.

View file

@ -2474,7 +2474,9 @@ the alist of previous items."
;; Ending for every item
(org-close-li type)
;; We're ending last item of the list: end list.
(when lastp (insert (format "</%sl>\n" type)))))
(when lastp
(insert (format "</%sl>\n" type))
(org-open-par))))
(funcall get-closings pos))
(cond
;; At an item: insert appropriate tags in export buffer.