all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [Bug] HTML export hangs on certain characters
@ 2011-03-11 17:11 Rehan Iftikhar
  2011-03-11 17:30 ` Bastien
  2011-03-11 17:35 ` Nick Dokos
  0 siblings, 2 replies; 4+ messages in thread
From: Rehan Iftikhar @ 2011-03-11 17:11 UTC (permalink / raw)
  To: emacs-orgmode

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.

-- 
-Rehan

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Bug] HTML export hangs on certain characters
  2011-03-11 17:11 [Bug] HTML export hangs on certain characters Rehan Iftikhar
@ 2011-03-11 17:30 ` Bastien
  2011-03-11 17:35 ` Nick Dokos
  1 sibling, 0 replies; 4+ messages in thread
From: Bastien @ 2011-03-11 17:30 UTC (permalink / raw)
  To: Rehan Iftikhar; +Cc: emacs-orgmode

Hi Rehan,

Rehan Iftikhar <rehan.iftikhar@gmail.com> writes:

> 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.

Fixed, thanks.

-- 
 Bastien

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Bug] HTML export hangs on certain characters
  2011-03-11 17:11 [Bug] HTML export hangs on certain characters Rehan Iftikhar
  2011-03-11 17:30 ` Bastien
@ 2011-03-11 17:35 ` Nick Dokos
  2011-03-11 17:46   ` Rehan Iftikhar
  1 sibling, 1 reply; 4+ messages in thread
From: Nick Dokos @ 2011-03-11 17:35 UTC (permalink / raw)
  To: Rehan Iftikhar; +Cc: nicholas.dokos, emacs-orgmode

Rehan Iftikhar <rehan.iftikhar@gmail.com> 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 "&amp;", find another & and goes on ad-infinitum.

Nick

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Bug] HTML export hangs on certain characters
  2011-03-11 17:35 ` Nick Dokos
@ 2011-03-11 17:46   ` Rehan Iftikhar
  0 siblings, 0 replies; 4+ messages in thread
From: Rehan Iftikhar @ 2011-03-11 17:46 UTC (permalink / raw)
  To: nicholas.dokos; +Cc: emacs-orgmode

I verified the fix, thanks.

On Fri, Mar 11, 2011 at 9:35 AM, Nick Dokos <nicholas.dokos@hp.com> wrote:
> Rehan Iftikhar <rehan.iftikhar@gmail.com> 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 "&amp;", find another & and goes on ad-infinitum.
>
> Nick
>



-- 
-Rehan

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-03-11 17:47 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-11 17:11 [Bug] HTML export hangs on certain characters Rehan Iftikhar
2011-03-11 17:30 ` Bastien
2011-03-11 17:35 ` Nick Dokos
2011-03-11 17:46   ` Rehan Iftikhar

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.