From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sebastian Rose Subject: Re: Valid XHTML Date: Mon, 27 Oct 2008 01:55:03 +0100 Message-ID: <49051167.2080900@gmx.de> References: <490B6274.8090507@gmx.de> <4904E4C6.4080404@gmx.de> Reply-To: sebastian_rose@gmx.de Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------000605000501020308070205" Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Kw3pO-0005NA-5b for emacs-orgmode@gnu.org; Fri, 31 Oct 2008 19:54:54 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Kw3pM-0005K2-CJ for emacs-orgmode@gnu.org; Fri, 31 Oct 2008 19:54:53 -0400 Received: from [199.232.76.173] (port=41668 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Kw3pM-0005Jv-9R for emacs-orgmode@gnu.org; Fri, 31 Oct 2008 19:54:52 -0400 Received: from mail.gmx.net ([213.165.64.20]:35444) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1Kw3pM-0004bN-Dd for emacs-orgmode@gnu.org; Fri, 31 Oct 2008 19:54:52 -0400 In-Reply-To: <4904E4C6.4080404@gmx.de> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: "[emacs-orgmode]" This is a multi-part message in MIME format. --------------000605000501020308070205 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Hi, 1.) ERR SSTOOOP!!! Sebastian Rose wrote: > x.php?a=b&c=d > ^ ^ > urlencoded--------' entities--' Sorry, that's bullsh... This is one of the errors, that goes away, if x.php?a=b&c=d ^ entities--' 2.) Fix for 'no
 in 

(XHTML)': The appended patch fixes this. Don't know if it is correct, but I tested repeatedly with various files and it seems OK. No empty

elements remain. Regards, Sebastian --------------000605000501020308070205 Content-Type: text/x-patch; name="patch-no-pre-in-p.patch" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="patch-no-pre-in-p.patch" diff --git a/lisp/org-exp.el b/lisp/org-exp.el index 4153554..8762843 100644 --- a/lisp/org-exp.el +++ b/lisp/org-exp.el @@ -3102,6 +3102,7 @@ lang=\"%s\" xml:lang=\"%s\"> (string-match "^[ \t]*:\\(.*\\)" line)) (when (not infixed) (setq infixed t) + (org-close-par-maybe) (insert "

\n"))
 	    (insert (org-html-protect (match-string 1 line)) "\n")
 	    (when (or (not lines)
@@ -3339,6 +3340,7 @@ lang=\"%s\" xml:lang=\"%s\">
 				  head-count)
 	    ;; QUOTES
 	    (when (string-match quote-re line)
+          (org-close-par-maybe)
 	      (insert "
")
 	      (setq inquote t)))

@@ -3449,7 +3451,7 @@ lang=\"%s\" xml:lang=\"%s\">
 	    (insert line "\n")))))

       ;; Properly close all local lists and other lists
-      (when inquote (insert "
\n")) + (when inquote (insert "
\n") (org-open-par)) (when in-local-list ;; Close any local lists before inserting a new header line (while local-list-type --------------000605000501020308070205 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode --------------000605000501020308070205--