From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: [PATCH] org-export generating invalid HTML due to "<\p>" typo Date: Wed, 3 Sep 2008 11:36:56 +0200 Message-ID: <3E90BCFF-3474-46BF-B325-FC1E5D861501@uva.nl> References: Mime-Version: 1.0 (Apple Message framework v926) Content-Type: multipart/mixed; boundary="===============0464619118==" Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KaonU-0005ZM-4P for emacs-orgmode@gnu.org; Wed, 03 Sep 2008 05:37:08 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KaonS-0005We-Gj for emacs-orgmode@gnu.org; Wed, 03 Sep 2008 05:37:07 -0400 Received: from [199.232.76.173] (port=56498 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KaonS-0005WG-5l for emacs-orgmode@gnu.org; Wed, 03 Sep 2008 05:37:06 -0400 Received: from ug-out-1314.google.com ([66.249.92.171]:49629) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KaonR-0005gQ-NF for emacs-orgmode@gnu.org; Wed, 03 Sep 2008 05:37:06 -0400 Received: by ug-out-1314.google.com with SMTP id m2so2428766uge.17 for ; Wed, 03 Sep 2008 02:37:05 -0700 (PDT) In-Reply-To: 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: David House Cc: emacs-orgmode@gnu.org --===============0464619118== Content-Type: multipart/alternative; boundary=Apple-Mail-18--538235533 --Apple-Mail-18--538235533 Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Applied, thanks. - Carsten On Aug 8, 2008, at 10:33 AM, David House wrote: > The "Generated by org-mode" text at the end of the document has a > small HTML typo causing invalid HTML to be produced. Patch: > > --- > diff -u c\:/Program\ Files/Emacs/emacs/site-lisp/org/org-exp.el > c\:/Program\ Files/Emacs/emacs/site-lisp/org/org-exp-mine.el > --- c:/Program Files/Emacs/emacs/site-lisp/org/org-exp.el 2008-07-25 > 15:19:00.000000000 +0100 > +++ c:/Program Files/Emacs/emacs/site-lisp/org/org-exp-mine.el > 2008-08-08 > 09:27:14.796875000 +0100 > @@ -3325,7 +3325,7 @@ > (nth 2 lang-words) ": " > date "

\n")) > (when org-export-creator-info > - (insert (format "

HTML generated by org-mode %s in emacs %s< > \p>\n" > + (insert (format "

HTML generated by org-mode %s in emacs %s p>\n" > org-version emacs-major-version))) > (insert "")) > > --- > > This is such a trivial change that I haven't signed papers with the > FSF. > > -- > -David House, dmhouse@gmail.com > > > _______________________________________________ > 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 --Apple-Mail-18--538235533 Content-Type: text/html; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Applied, = thanks.


- Carsten

On Aug 8, = 2008, at 10:33 AM, David House wrote:

The = "Generated by org-mode" text at the end of the document has a
small = HTML typo causing invalid HTML to be produced. Patch:

---
diff = -u c\:/Program\ = Files/Emacs/emacs/site-lisp/org/org-exp.el
c\:/Program\ = Files/Emacs/emacs/site-lisp/org/org-exp-mine.el
--- c:/Program = Files/Emacs/emacs/site-lisp/org/org-exp.el 2008-07-25
15:19:00.000000000 = +0100
+++ c:/Program = Files/Emacs/emacs/site-lisp/org/org-exp-mine.el = 2008-08-08
09:27:14.796875000 +0100
@@ -3325,7 +3325,7 = @@
= =    (nth 2 lang-words) ": "
=    date "</p>\n"))
 (when = org-export-creator-info
-    (insert = (format "<p>HTML generated by org-mode %s in emacs = %s<\p>\n"
+=    (insert (format "<p>HTML generated = by org-mode %s in emacs %s</p>\n"
   org-version = emacs-major-version)))
 (insert = "</div>"))

---

This is such a trivial change that I = haven't signed papers with the FSF.

--
-David House, dmhouse@gmail.com


_______= ________________________________________
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
<= br>
= --Apple-Mail-18--538235533-- --===============0464619118== 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 --===============0464619118==--