From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: [PATCH] Properly export title tag in org-html Date: Wed, 16 Feb 2011 11:54:11 +0100 Message-ID: <87wrl0qmgc.fsf@gnu.org> References: <201102152238.20401.Pierre.Techoueyres@free.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Return-path: Received: from [140.186.70.92] (port=48604 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ppk4r-0004qo-Ab for emacs-orgmode@gnu.org; Wed, 16 Feb 2011 11:18:10 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ppk4p-0004bP-LG for emacs-orgmode@gnu.org; Wed, 16 Feb 2011 11:18:05 -0500 Received: from mail-bw0-f41.google.com ([209.85.214.41]:63752) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ppk4p-0004av-1z for emacs-orgmode@gnu.org; Wed, 16 Feb 2011 11:18:03 -0500 Received: by bwz16 with SMTP id 16so1636896bwz.0 for ; Wed, 16 Feb 2011 08:18:02 -0800 (PST) In-Reply-To: <201102152238.20401.Pierre.Techoueyres@free.fr> ("Pierre =?iso-8859-1?Q?T=E9choueyres=22's?= message of "Tue, 15 Feb 2011 22:38:19 +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: Pierre =?iso-8859-1?Q?T=E9choueyres?= Cc: emacs-orgmode@gnu.org Hi Pierre, Pierre Téchoueyres writes: > I think I've found a little bug in org-export-as-html function in > org-html.el file. > > If you're setting an title with some escape character then the title > tag in html header is set "as is". > > for example if your title is foo\_bar then the title tag will be > foo\_bar instead of foo_bar Thanks for reporting this! > I tried to do the job in the attached patch. I applied a slightly modified version of your patch, html-expanding the title earlier in the function. Thanks for submitting it, -- Bastien