1
0
mirror of https://git.savannah.gnu.org/git/emacs/org-mode.git synced 2025-01-25 20:15:22 +00:00

Allow for multiple classes in HTML_CONTAINER_CLASS.

Based on a patch submitted by David Maus:
http://patchwork.newartisans.com/patch/178/
This commit is contained in:
Bastien Guerry 2010-08-01 11:32:17 +02:00
parent 3642e441bc
commit 0cafae6a6a

View File

@ -1316,7 +1316,7 @@ the current file."
(goto-char (point-min))
(let (class)
(while (re-search-forward
"^[ \t]*:HTML_CONTAINER_CLASS:[ \t]+\\(\\S-+\\)" nil t)
"^[ \t]*:HTML_CONTAINER_CLASS:[ \t]+\\(.+\\)$" nil t)
(setq class (match-string 1))
(save-excursion
(org-back-to-heading t)