From mboxrd@z Thu Jan 1 00:00:00 1970 From: Scott Randby Subject: Another HTML Export Problem Date: Tue, 15 Mar 2011 20:39:32 -0400 Message-ID: <4D8006C4.3080809@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: Received: from [140.186.70.92] (port=60491 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pzem1-0005FS-Qx for emacs-orgmode@gnu.org; Tue, 15 Mar 2011 20:39:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Pzem0-00023s-C7 for emacs-orgmode@gnu.org; Tue, 15 Mar 2011 20:39:37 -0400 Received: from mail-iy0-f169.google.com ([209.85.210.169]:49384) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Pzem0-00023J-6W for emacs-orgmode@gnu.org; Tue, 15 Mar 2011 20:39:36 -0400 Received: by iyf13 with SMTP id 13so1446057iyf.0 for ; Tue, 15 Mar 2011 17:39:35 -0700 (PDT) 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@gnu.org Some links are not exporting properly with org release_7.5.52.g0dc16. It seems that any link that contains "&" does not export correctly. Take the four links given below. [[http://scripts.sil.org/cms/scripts/page.php?site_id=nrsi&id=xetex][XeTeX]] http://scripts.sil.org/cms/scripts/page.php?site_id=nrsi&id=xetex [[http://www.casio.com/products/Calculators_&_Dictionaries/][Casio]] http://www.casio.com/products/Calculators_&_Dictionaries/ These links are incorrectly exported by version 7.5 as:

@<a href="http://scripts.sil.org/cms/scripts/page.php?site_id=nrsi&amp;id=xetex">XeTeX

@<a href="http://scripts.sil.org/cms/scripts/page.php?site_id=nrsi&amp;id=xetex">http://scripts.sil.org/cms/scripts/page.php?siteid=nrsi&amp;id=xetex

@<a href="http://www.casio.com/products/Calculators_&amp;_Dictionaries/">Casio

@<a href="http://www.casio.com/products/Calculators_&amp;_Dictionaries/">http://www.casio.com/products/Calculators&;amp;Dictionaries/

With version 7.4, the links are correctly exported as:

XeTeX

http://scripts.sil.org/cms/scripts/page.php?site_id=nrsi&id=xetex

Casio

http://www.casio.com/products/Calculators_&_Dictionaries/

Scott Randby From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: Another HTML Export Problem Date: Wed, 16 Mar 2011 02:31:55 +0100 Message-ID: <87lj0fu9ys.fsf@gnu.org> References: <4D8006C4.3080809@gmail.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Return-path: Received: from [140.186.70.92] (port=49482 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pzfb1-00019f-Jx for emacs-orgmode@gnu.org; Tue, 15 Mar 2011 21:32:20 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Pzfb0-0000L0-9M for emacs-orgmode@gnu.org; Tue, 15 Mar 2011 21:32:19 -0400 Received: from mail-wy0-f169.google.com ([74.125.82.169]:46646) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Pzfaz-0000Ke-Uy for emacs-orgmode@gnu.org; Tue, 15 Mar 2011 21:32:18 -0400 Received: by wyf19 with SMTP id 19so1326270wyf.0 for ; Tue, 15 Mar 2011 18:32:16 -0700 (PDT) In-Reply-To: <4D8006C4.3080809@gmail.com> (Scott Randby's message of "Tue, 15 Mar 2011 20:39:32 -0400") 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: Scott Randby Cc: emacs-orgmode@gnu.org --=-=-= Content-Type: text/plain Hi Scott, Scott Randby writes: > Some links are not exporting properly with org release_7.5.52.g0dc16. It > seems that any link that contains "&" does not export correctly. Take > the four links given below. Yes, problems again here -- thanks for reporting. If you can, please test this patch. I'm not applying it right now as I want to make sure to apply a safe and complete patch. Best, --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=org-html.el.patch diff --git a/lisp/org-html.el b/lisp/org-html.el index 0abecac..c6f26b5 100644 --- a/lisp/org-html.el +++ b/lisp/org-html.el @@ -848,9 +848,9 @@ MAY-INLINE-P allows inlining it as an image." (message "image %s %s" thefile org-par-open) (org-export-html-format-image thefile org-par-open)) (concat - "@" + "" (org-export-html-format-desc desc) - "@"))))) + ""))))) (defun org-html-handle-links (line opt-plist) "Return LINE with markup of Org mode links. @@ -1530,9 +1530,6 @@ lang=\"%s\" xml:lang=\"%s\"> "@ ") t t line))))) - ;; Format the links - (setq line (org-html-handle-links line opt-plist)) - (setq line (org-html-handle-time-stamps line)) ;; replace "&" by "&", "<" and ">" by "<" and ">" @@ -1541,6 +1538,9 @@ lang=\"%s\" xml:lang=\"%s\"> (or (string-match org-table-hline-regexp line) (setq line (org-html-expand line))) + ;; Format the links + (setq line (org-html-handle-links line opt-plist)) + ;; TODO items (if (and (string-match org-todo-line-regexp line) (match-beginning 2)) @@ -1829,7 +1829,7 @@ lang=\"%s\" xml:lang=\"%s\"> "Create image tag with source and attributes." (save-match-data (if (string-match "^ltxpng/" src) - (format "@\"%s\"/" + (format "\"%s\"/" src (org-find-text-property-in-string 'org-latex-src src)) (let* ((caption (org-find-text-property-in-string 'org-caption src)) (attr (org-find-text-property-in-string 'org-attributes src)) @@ -1837,20 +1837,20 @@ lang=\"%s\" xml:lang=\"%s\"> (setq caption (and caption (org-html-do-expand caption))) (concat (if caption - (format "%s@
-@

" - (if org-par-open "@

\n" "") + (format "%s
+

" + (if org-par-open "

\n" "") (if label (format "id=\"%s\" " (org-solidify-link-text label)) ""))) - (format "@" + (format "" src (if (string-match "\\%s -@
%s" - (concat "\n@

" caption "@

") - (if org-par-open "\n@

" "")))))))) + (format "

%s +
%s" + (concat "\n

" caption "

") + (if org-par-open "\n

" "")))))))) (defun org-export-html-get-bibliography () "Find bibliography, cut it out and return it." --=-=-= Content-Type: text/plain -- Bastien --=-=-=-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: Another HTML Export Problem Date: Thu, 17 Mar 2011 09:07:41 +0100 Message-ID: <87d3lqnog2.fsf@altern.org> References: <4D8006C4.3080809@gmail.com> <87lj0fu9ys.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from [140.186.70.92] (port=58165 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q08Wn-00015b-Hn for emacs-orgmode@gnu.org; Thu, 17 Mar 2011 04:25:54 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q08Wm-00013K-7D for emacs-orgmode@gnu.org; Thu, 17 Mar 2011 04:25:53 -0400 Received: from mail-wy0-f169.google.com ([74.125.82.169]:38445) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q08Wm-00012B-0t for emacs-orgmode@gnu.org; Thu, 17 Mar 2011 04:25:52 -0400 Received: by mail-wy0-f169.google.com with SMTP id 19so2772921wyf.0 for ; Thu, 17 Mar 2011 01:25:51 -0700 (PDT) In-Reply-To: <87lj0fu9ys.fsf@gnu.org> (Bastien's message of "Wed, 16 Mar 2011 02:31:55 +0100") 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: Scott Randby Cc: emacs-orgmode@gnu.org Hi Scott, Bastien writes: > If you can, please test this patch. I'm not applying it right now as > I want to make sure to apply a safe and complete patch. I've applied this patch now. -- Bastien From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Maus Subject: Re: Another HTML Export Problem Date: Wed, 16 Mar 2011 12:51:40 +0100 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: Received: from [140.186.70.92] (port=35014 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PzpGQ-0002c0-Jn for emacs-orgmode@gnu.org; Wed, 16 Mar 2011 07:51:43 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PzpGP-0004vY-Nl for emacs-orgmode@gnu.org; Wed, 16 Mar 2011 07:51:42 -0400 Received: from mail-qw0-f41.google.com ([209.85.216.41]:44900) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PzpGP-0004vP-LZ for emacs-orgmode@gnu.org; Wed, 16 Mar 2011 07:51:41 -0400 Received: by qwa26 with SMTP id 26so1566653qwa.0 for ; Wed, 16 Mar 2011 04:51:41 -0700 (PDT) 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: bzg@altern.org Cc: emacs-orgmode@gnu.org Hi, Bastien's patch looks good and/but introduces a regression: The commit that started all this trobule -- 163cd58ffd6461c98a96b1b63a3cf082b2825a52 -- fixed a problem with exporting links with a description that contained an ISO Date. The current problem can be located in `org-html-do-expand' which uses the regexp "@<\\([^&]*\\)>" to remove protection from elements. Obviously this function was never meant to deal with links :| I think we should accept the regression, restore the old behaviour and find a better solution for the problem I tried to solve in the first place. Best, -- David From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric S Fraga Subject: Re: Re: Another HTML Export Problem Date: Thu, 17 Mar 2011 14:34:52 +0000 Message-ID: <87fwqllss3.fsf@pinto.chemeng.ucl.ac.uk> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from [140.186.70.92] (port=45270 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q0EI4-0003BB-Px for emacs-orgmode@gnu.org; Thu, 17 Mar 2011 10:35:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q0EI3-0003Fg-Gv for emacs-orgmode@gnu.org; Thu, 17 Mar 2011 10:35:04 -0400 Received: from vscani-d2.ucl.ac.uk ([144.82.108.133]:43749) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q0EI3-0003Bn-AL for emacs-orgmode@gnu.org; Thu, 17 Mar 2011 10:35:03 -0400 In-Reply-To: (David Maus's message of "Wed, 16 Mar 2011 12:51:40 +0100") 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 Maus Cc: bzg@altern.org, emacs-orgmode@gnu.org David Maus writes: > Hi, > > Bastien's patch looks good and/but introduces a regression: The commit > that started all this trobule -- > 163cd58ffd6461c98a96b1b63a3cf082b2825a52 -- fixed a problem with > exporting links with a description that contained an ISO Date. The > current problem can be located in `org-html-do-expand' which uses the > regexp "@<\\([^&]*\\)>" to remove protection from elements. > Obviously this function was never meant to deal with links :| > > I think we should accept the regression, restore the old behaviour and > find a better solution for the problem I tried to solve in the first > place. > > Best, > -- David > I don't know if this is the same problem but exporting, to HTML, the following #+begin_src org [[http://petition.stopsoftwarepatents.eu/831004564935/][http://petition.stopsoftwarepatents.eu/banner/831004564935/ssp-362-60.gif]] #+end_src generates the following HTML: --8<---------------cut here---------------start------------->8--- @ --8<---------------cut here---------------end--------------->8--- Note the spurious "@" introduced before the = Subject: Re: Another HTML Export Problem Date: Thu, 17 Mar 2011 10:45:42 -0400 Message-ID: <4D821E96.4090208@gmail.com> References: <4D8006C4.3080809@gmail.com> <87lj0fu9ys.fsf@gnu.org> <87d3lqnog2.fsf@altern.org> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: Received: from [140.186.70.92] (port=47438 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q0EST-0001jx-4d for emacs-orgmode@gnu.org; Thu, 17 Mar 2011 10:45:50 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q0ESR-0005NR-1V for emacs-orgmode@gnu.org; Thu, 17 Mar 2011 10:45:48 -0400 Received: from mail-iw0-f169.google.com ([209.85.214.169]:63495) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q0ESQ-0005NC-US for emacs-orgmode@gnu.org; Thu, 17 Mar 2011 10:45:47 -0400 Received: by iwl42 with SMTP id 42so3651048iwl.0 for ; Thu, 17 Mar 2011 07:45:45 -0700 (PDT) In-Reply-To: <87d3lqnog2.fsf@altern.org> 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: Bastien Cc: emacs-orgmode@gnu.org On 03/17/2011 04:07 AM, Bastien wrote: > Hi Scott, > > Bastien writes: > >> If you can, please test this patch. I'm not applying it right now as >> I want to make sure to apply a safe and complete patch. > > I've applied this patch now. Hi Bastien, It works and doesn't break anything else as far as I can tell. Thanks for fixing this. I'm sorry I couldn't test the patch, but I want to learn how to do such things sometime. I'll stick with reporting any bugs I find for now. Scott From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Maus Subject: Re: Re: Another HTML Export Problem Date: Sun, 20 Mar 2011 12:21:43 +0100 Message-ID: <87r5a2596g.wl%dmaus@ictsoc.de> References: <87fwqllss3.fsf@pinto.chemeng.ucl.ac.uk> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: multipart/signed; boundary="pgp-sign-Multipart_Sun_Mar_20_12:21:43_2011-1"; micalg=pgp-sha256; protocol="application/pgp-signature" Content-Transfer-Encoding: 7bit Return-path: Received: from [140.186.70.92] (port=32782 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q1Ghh-0000i3-0q for emacs-orgmode@gnu.org; Sun, 20 Mar 2011 07:21:49 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q1Ghg-000513-1x for emacs-orgmode@gnu.org; Sun, 20 Mar 2011 07:21:48 -0400 Received: from mail-fx0-f41.google.com ([209.85.161.41]:53396) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q1Ghf-00050v-Rf for emacs-orgmode@gnu.org; Sun, 20 Mar 2011 07:21:47 -0400 Received: by fxm18 with SMTP id 18so5487320fxm.0 for ; Sun, 20 Mar 2011 04:21:46 -0700 (PDT) In-Reply-To: <87fwqllss3.fsf@pinto.chemeng.ucl.ac.uk> 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: Eric S Fraga Cc: David Maus , emacs-orgmode@gnu.org, bzg@altern.org --pgp-sign-Multipart_Sun_Mar_20_12:21:43_2011-1 Content-Type: text/plain; charset=US-ASCII At Thu, 17 Mar 2011 14:34:52 +0000, Eric S Fraga wrote: > > I don't know if this is the same problem but exporting, to HTML, the Yes, this was a symptom of the broken HTML export. Should be fixed now. Best, -- David -- OpenPGP... 0x99ADB83B5A4478E6 Jabber.... dmjena@jabber.org Email..... dmaus@ictsoc.de --pgp-sign-Multipart_Sun_Mar_20_12:21:43_2011-1 Content-Type: application/pgp-signature Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iF4EAREIAAYFAk2F40cACgkQma24O1pEeOblLwEAxvfpxpmM8l3u/ejcP1FZyCOH JCkKpwf1dS4KyoR+uCoA/jLaAvwu1/nT8lzJUWMI5WuTsrfzk+gEGzhSQogOUBMq =jLak -----END PGP SIGNATURE----- --pgp-sign-Multipart_Sun_Mar_20_12:21:43_2011-1-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric S Fraga Subject: Re: Re: Another HTML Export Problem Date: Sun, 20 Mar 2011 19:44:59 +0000 Message-ID: <87bp15o9tw.fsf@ucl.ac.uk> References: <87fwqllss3.fsf@pinto.chemeng.ucl.ac.uk> <87r5a2596g.wl%dmaus@ictsoc.de> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from [140.186.70.92] (port=35097 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q1OYk-0003WV-KL for emacs-orgmode@gnu.org; Sun, 20 Mar 2011 15:45:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q1OYj-0005HP-0Z for emacs-orgmode@gnu.org; Sun, 20 Mar 2011 15:45:06 -0400 Received: from vscane-a2.ucl.ac.uk ([144.82.108.42]:34099) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q1OYi-0005HK-Qi for emacs-orgmode@gnu.org; Sun, 20 Mar 2011 15:45:04 -0400 In-Reply-To: <87r5a2596g.wl%dmaus@ictsoc.de> (David Maus's message of "Sun, 20 Mar 2011 12:21:43 +0100") 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 Maus Cc: emacs-orgmode@gnu.org David Maus writes: > At Thu, 17 Mar 2011 14:34:52 +0000, > Eric S Fraga wrote: >> >> I don't know if this is the same problem but exporting, to HTML, the > > Yes, this was a symptom of the broken HTML export. Should be fixed > now. It is indeed. Many thanks. -- : Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 24.0.50.1 : using Org-mode version 7.5 (release_7.5.90.g1fb3.dirty) From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bernt Hansen Subject: Re: Another HTML Export Problem Date: Sun, 20 Mar 2011 21:46:19 -0400 Message-ID: <87y649gs9g.fsf@norang.ca> References: <87fwqllss3.fsf@pinto.chemeng.ucl.ac.uk> <87r5a2596g.wl%dmaus@ictsoc.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from [140.186.70.92] (port=36956 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q1UCV-00011J-Bs for emacs-orgmode@gnu.org; Sun, 20 Mar 2011 21:46:32 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q1UCU-0003Ju-1k for emacs-orgmode@gnu.org; Sun, 20 Mar 2011 21:46:31 -0400 Received: from mho-02-ewr.mailhop.org ([204.13.248.72]:24790) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q1UCT-0003Jn-Vx for emacs-orgmode@gnu.org; Sun, 20 Mar 2011 21:46:30 -0400 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 Maus Cc: bzg@altern.org, emacs-orgmode@gnu.org David Maus writes: > At Thu, 17 Mar 2011 14:34:52 +0000, > Eric S Fraga wrote: >> >> I don't know if this is the same problem but exporting, to HTML, the > > Yes, this was a symptom of the broken HTML export. Should be fixed now. Hi David, I think there is yet another HTML export issue with the current development code. --8<---------------cut here---------------start------------->8--- * Test [2011-03-20 Sun] [2011-03-20 Sun] org.el --8<---------------cut here---------------end--------------->8--- exported here: http://www.norang.ca/tmp/org-scratch.html exports to HTML as --8<---------------cut here---------------start------------->8--- ...

org-scratch

Table of Contents

1 Test

2011-03-20 Sun<br/> 2011-03-20 Sun<br/> org.el

Date: 2011-03-20 21:31:20 EDT

Author: Bernt Hansen

Org version 7.5 with Emacs version 23

Validate XHTML 1.0
--8<---------------cut here---------------end--------------->8--- For the timestamps ,---- |
| |

2011-03-20 Sun<br/> | 2011-03-20 Sun<br/> | org.el |

`---- The timestamps have the < and > brackets of
converted to < and > which is incorrect. I ran bisect and identified the following commit 6a369c26d3f936bc71cba9d7148dcecf1b2c9677 is the first bad commit commit 6a369c26d3f936bc71cba9d7148dcecf1b2c9677 Author: David Maus Date: Sun Mar 13 20:27:12 2011 +0100 Expand char entities after creating markup for links and timestamps * org-html.el (org-html-make-link, org-html-handle-links): Protect generated XHTML elements. (org-export-as-html): Expand character entities after creating markup for links and timestamps. This fixes a problem with exporting active timestamps, reported by Daniel Clemente . :040000 040000 1508340e77dca86766af48df2eadf747070f89ce ca668c398391b307e49113fb592fb68195640896 M lisp Regards, -- Bernt From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Maus Subject: Re: Another HTML Export Problem Date: Mon, 21 Mar 2011 06:46:45 +0100 Message-ID: <878vw9qb3u.wl%dmaus@ictsoc.de> References: <87fwqllss3.fsf@pinto.chemeng.ucl.ac.uk> <87r5a2596g.wl%dmaus@ictsoc.de> <87y649gs9g.fsf@norang.ca> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: multipart/signed; boundary="pgp-sign-Multipart_Mon_Mar_21_06:46:45_2011-1"; micalg=pgp-sha256; protocol="application/pgp-signature" Content-Transfer-Encoding: 7bit Return-path: Received: from [140.186.70.92] (port=33466 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q1Xx5-0002yF-Dn for emacs-orgmode@gnu.org; Mon, 21 Mar 2011 01:46:52 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q1Xx3-0004CE-SF for emacs-orgmode@gnu.org; Mon, 21 Mar 2011 01:46:51 -0400 Received: from mail-bw0-f41.google.com ([209.85.214.41]:61377) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q1Xx3-0004C8-LN for emacs-orgmode@gnu.org; Mon, 21 Mar 2011 01:46:49 -0400 Received: by bwz17 with SMTP id 17so5369519bwz.0 for ; Sun, 20 Mar 2011 22:46:48 -0700 (PDT) In-Reply-To: <87y649gs9g.fsf@norang.ca> 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: Bernt Hansen Cc: David Maus , emacs-orgmode@gnu.org, bzg@altern.org --pgp-sign-Multipart_Mon_Mar_21_06:46:45_2011-1 Content-Type: text/plain; charset=US-ASCII Hi Bernt, At Sun, 20 Mar 2011 21:46:19 -0400, Bernt Hansen wrote: > > David Maus writes: > > > At Thu, 17 Mar 2011 14:34:52 +0000, > > Eric S Fraga wrote: > >> > >> I don't know if this is the same problem but exporting, to HTML, the > > > > Yes, this was a symptom of the broken HTML export. Should be fixed now. > > I think there is yet another HTML export issue with the current > development code. Indeed. This should be fixed now as well. Best, -- David -- OpenPGP... 0x99ADB83B5A4478E6 Jabber.... dmjena@jabber.org Email..... dmaus@ictsoc.de --pgp-sign-Multipart_Mon_Mar_21_06:46:45_2011-1 Content-Type: application/pgp-signature Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iF4EAREIAAYFAk2G5kUACgkQma24O1pEeOYEwQD9FPx5zKYB31uEVtH69Vqphz5Y 06jWsCE3bf3uW9ve6NcBAIoAV2DSOdx5q7WYLU6aKvEoO/HxbiG7BFmVC1lucLnx =U7cV -----END PGP SIGNATURE----- --pgp-sign-Multipart_Mon_Mar_21_06:46:45_2011-1-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bernt Hansen Subject: Re: Another HTML Export Problem Date: Mon, 21 Mar 2011 08:49:48 -0400 Message-ID: <87tyewfxjn.fsf@norang.ca> References: <87fwqllss3.fsf@pinto.chemeng.ucl.ac.uk> <87r5a2596g.wl%dmaus@ictsoc.de> <87y649gs9g.fsf@norang.ca> <878vw9qb3u.wl%dmaus@ictsoc.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from [140.186.70.92] (port=53017 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q1eYU-00009J-Tx for emacs-orgmode@gnu.org; Mon, 21 Mar 2011 08:49:56 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q1eYT-0003nf-Fv for emacs-orgmode@gnu.org; Mon, 21 Mar 2011 08:49:54 -0400 Received: from mho-01-ewr.mailhop.org ([204.13.248.71]:51294) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q1eYT-0003nY-E7 for emacs-orgmode@gnu.org; Mon, 21 Mar 2011 08:49:53 -0400 In-Reply-To: <878vw9qb3u.wl%dmaus@ictsoc.de> (David Maus's message of "Mon, 21 Mar 2011 06:46:45 +0100") 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 Maus Cc: bzg@altern.org, emacs-orgmode@gnu.org David Maus writes: > At Sun, 20 Mar 2011 21:46:19 -0400, > Bernt Hansen wrote: >> >> I think there is yet another HTML export issue with the current >> development code. > > Indeed. This should be fixed now as well. Hi David, Thanks for the quick fix! Regards, -- Bernt