Avoid XHTML strict problems by not enclosing special blocks in paragraph tags

* lisp/org-special-blocks.el (org-special-blocks-convert-html-special-cookies):
Avoid XHTML strict problems by not enclosing special blocks in
paragraph tags.
This commit is contained in:
Carsten Dominik 2011-10-04 16:22:27 +02:00
parent 106993d310
commit 4e3cc81a2e
1 changed files with 1 additions and 1 deletions

View File

@ -81,7 +81,7 @@ seen. This is run after a few special cases are taken care of."
"Converts the special cookies into div blocks."
;; Uses the dynamically-bound variable `line'.
(when (string-match "^ORG-\\(.*\\)-\\(START\\|END\\)$" line)
; (org-close-par-maybe)
(org-close-par-maybe)
(message "%s" (match-string 1))
(if (equal (match-string 2 line) "START")
(insert "<div class=\"" (match-string 1 line) "\">\n")