From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rehan Iftikhar Subject: Re: [Bug] HTML export hangs on certain characters Date: Fri, 11 Mar 2011 09:46:57 -0800 Message-ID: References: <4962.1299864931@alphaville.dokosmarshall.org> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Return-path: Received: from [140.186.70.92] (port=37915 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Py6QW-0004gQ-I7 for emacs-orgmode@gnu.org; Fri, 11 Mar 2011 12:47:01 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Py6QV-0007Do-Al for emacs-orgmode@gnu.org; Fri, 11 Mar 2011 12:47:00 -0500 Received: from mail-iy0-f169.google.com ([209.85.210.169]:50730) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Py6QV-0007Di-5E for emacs-orgmode@gnu.org; Fri, 11 Mar 2011 12:46:59 -0500 Received: by iyf13 with SMTP id 13so3780590iyf.0 for ; Fri, 11 Mar 2011 09:46:58 -0800 (PST) In-Reply-To: <4962.1299864931@alphaville.dokosmarshall.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: nicholas.dokos@hp.com Cc: emacs-orgmode@gnu.org I verified the fix, thanks. On Fri, Mar 11, 2011 at 9:35 AM, Nick Dokos wrote: > Rehan Iftikhar wrote: > >> Hi >> >> Im trying to do an html export of an org file and it keeps hanging / >> freezing emacs. I have narrowed it down to this: >> >> * This headline exports fine >> * But when the headline includes an & it does not >> >> I have verified this on master as of 10 minutes ago. >> > > I can reproduce this in latest git. > > Works fine in > > Org-mode version 7.5 (release_7.5.8.g06f3.dirty) > > > Seems like org-html-protect acquired an infinite loop: it rescans > the replacement "&", find another & and goes on ad-infinitum. > > Nick > -- -Rehan