From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: [Bug] HTML export hangs on certain characters Date: Fri, 11 Mar 2011 12:35:31 -0500 Message-ID: <4962.1299864931@alphaville.dokosmarshall.org> References: Reply-To: nicholas.dokos@hp.com Return-path: Received: from [140.186.70.92] (port=33926 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Py6Fu-0006G8-QN for emacs-orgmode@gnu.org; Fri, 11 Mar 2011 12:36:03 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Py6Ft-00052Y-G5 for emacs-orgmode@gnu.org; Fri, 11 Mar 2011 12:36:02 -0500 Received: from vms173001pub.verizon.net ([206.46.173.1]:36757) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Py6Ft-00052N-62 for emacs-orgmode@gnu.org; Fri, 11 Mar 2011 12:36:01 -0500 Received: from alphaville.dokosmarshall.org ([unknown] [173.76.32.106]) by vms173001.mailsrvcs.net (Sun Java(tm) System Messaging Server 7u2-7.02 32bit (built Apr 16 2009)) with ESMTPA id <0LHW0060RM7AYL70@vms173001.mailsrvcs.net> for emacs-orgmode@gnu.org; Fri, 11 Mar 2011 11:35:47 -0600 (CST) In-reply-to: Message from Rehan Iftikhar of "Fri, 11 Mar 2011 09:11:42 PST." 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: Rehan Iftikhar Cc: nicholas.dokos@hp.com, emacs-orgmode@gnu.org 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