Skip to main content

Bug Tracker

Side navigation

#874 closed bug (fixed)

Opened January 24, 2007 07:04AM UTC

Closed January 31, 2007 09:48PM UTC

Last modified June 20, 2007 02:40AM UTC

$(html) fails when html contains ' '

Reported by: Arrix Owned by:
Priority: major Milestone:
Component: core Version: 1.1
Keywords: Cc:
Blocked by: Blocking:


</p>') fails (and freezes my Firefox

This happens when the html string contains ' '.

The problems is caused by the html extraction line in function jQuery.

var m = /^[^<]*(<(.|

which fails with ' '.

/^[^<]*(<(.|s)+>)[^>]*$/ works for me.
Attachments (0)
Change History (1)

Changed January 31, 2007 09:48PM UTC by joern comment:1

resolution: → fixed
status: newclosed

Fixed in revision 1242.