#2754: CKEditor v3 enters infinite loop when trying to output HTML code
---------------------------------+------------------------------------------
Reporter: martinkou | Owner: martinkou
Type: Bug | Status: closed
Priority: High | Milestone: CKEditor 3.0
Component: Core : Output Data | Version: SVN
Resolution: fixed | Keywords: Confirmed Review+
---------------------------------+------------------------------------------
Changes (by fredck):
* keywords: Confirmed Review? => Confirmed Review+
* status: assigned => closed
* resolution: => fixed
Comment:
I've committed the patch with [2918]. I did that after the review, to
avoid delay in the release.
I've changed that part of the regex to {{{[\S\s]}}}, instead of
{{{[\s\S]}}}. You gonna think I'm crazy, but as I can't explain precisely
how browsers implement their regex engines, I'm assuming the case where
that match means "find a character from the \S group (first check) or a
character from the \s group (second check)". So, as we have more
characters than spaces inside comments (usually), there is a theoretical
performance difference by changing the order the characters are presented
into the square brackets. And yes... you really gonna think I'm crazy.
--
Ticket URL: <http://dev.fckeditor.net/ticket/2754#comment:10>
FCKeditor <http://www.fckeditor.net/>
The text editor for Internet
------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
FCKeditor-Trac mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fckeditor-trac