summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Guerry <bzg@altern.org>2010-08-01 11:32:17 +0200
committerBastien Guerry <bzg@altern.org>2010-08-01 11:32:17 +0200
commit0cafae6a6af57e8f7aaade6e3b2b230ca4e76352 (patch)
tree0a76f64db0cea86cb7fef6ef016b441b62996241
parent3642e441bc8938387f0ed2ae30ea66f396e859ae (diff)
downloadorg-mode-0cafae6a6af57e8f7aaade6e3b2b230ca4e76352.tar.gz
Allow for multiple classes in HTML_CONTAINER_CLASS.
Based on a patch submitted by David Maus: http://patchwork.newartisans.com/patch/178/
-rw-r--r--lisp/org-exp.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/org-exp.el b/lisp/org-exp.el
index 0cfe049..6fc5109 100644
--- a/lisp/org-exp.el
+++ b/lisp/org-exp.el
@@ -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)