From 4e3cc81a2e70c2f74f8d62a327e1b2a608f003d9 Mon Sep 17 00:00:00 2001 From: Carsten Dominik Date: Tue, 4 Oct 2011 16:22:27 +0200 Subject: [PATCH] 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. --- lisp/org-special-blocks.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/org-special-blocks.el b/lisp/org-special-blocks.el index 2da57f033..d55e25589 100644 --- a/lisp/org-special-blocks.el +++ b/lisp/org-special-blocks.el @@ -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 "
\n")