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