1
0
mirror of https://git.savannah.gnu.org/git/emacs/org-mode.git synced 2025-01-23 19:49:32 +00:00

Join separate lists created in HTML by headlines below the headline limit.

This bug was reported by Adam Spiers.
This commit is contained in:
Carsten Dominik 2008-02-12 10:12:44 +01:00
parent a4fa054241
commit 73dc3b4761
2 changed files with 8 additions and 2 deletions

View File

@ -2,6 +2,9 @@
* org.el (org-make-tags-matcher): Allow "" to match an empty or
non-existent property value.
(org-export-as-html): Join unsorted lists when they directly
follow each other. Such lists may be created by headlines that
are converted to lists.
2008-02-12 Bastien Guerry <bzg@altern.org>

7
org.el
View File

@ -5,7 +5,7 @@
;; Author: Carsten Dominik <carsten at orgmode dot org>
;; Keywords: outlines, hypermedia, calendar, wp
;; Homepage: http://orgmode.org
;; Version: 5.21
;; Version: 5.21+
;;
;; This file is part of GNU Emacs.
;;
@ -84,7 +84,7 @@
;;; Version
(defconst org-version "5.21"
(defconst org-version "5.21+"
"The version number of the file org.el.")
(defun org-version (&optional here)
@ -25477,6 +25477,9 @@ lang=\"%s\" xml:lang=\"%s\">
(goto-char (point-min))
(while (re-search-forward "<li>[ \r\n\t]*</li>\n?" nil t)
(replace-match ""))
(goto-char (point-min))
(while (re-search-forward "</ul>\\s-*<ul>\n?" nil t)
(replace-match ""))
;; Convert whitespace place holders
(goto-char (point-min))
(let (beg end n)