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