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: |
Description
$('<p>
</p>') fails (and freezes my Firefox 2.0.0.1).
This happens when the html string contains ' '.
The problems is caused by the html extraction line in function jQuery.
var m = /^[^<]*(<(.| )+>)[^>]*$/.exec(a);
which fails with ' '.
/^[^<]*(<(.|s)+>)[^>]*$/ works for me.
Attachments (0)
Change History (1)
Changed January 31, 2007 09:48PM UTC by comment:1
resolution: | → fixed |
---|---|
status: | new → closed |
Fixed in revision 1242.