Skip to main content

Bug Tracker

Side navigation

#12346 closed bug (fixed)

Opened August 19, 2012 11:58AM UTC

Closed August 28, 2012 09:13PM UTC

fn.append not working correctly

Reported by: Owned by: dmethvin
Priority: blocker Milestone: 1.8.1
Component: manipulation Version: 1.8.0
Keywords: Cc:
Blocked by: Blocking:

Hi, I think it will be faster, if I just show you :-)

Try following fiddle and compare the results for 1.7.2 and 1.8 (first nbsp is missing in 1.8):

Just in case, here's a script code from fiddle:

var $e = $('<span>e</span>'), $x = $('<span>x</span>');

$('div').append(' ', $e, ' ', $x);​

Thank you for your efforts,

David Svetlik

Attachments (0)
Change History (3)

Changed August 20, 2012 11:58PM UTC by dmethvin comment:1

component: unfiledmanipulation
milestone: None1.8.1
priority: undecidedblocker
status: newopen

In 1.8.0 it works in Firefox, not in Chrome or Safari; it throws an error in IE9. Breaks in jQuery 1.3.2, works everywhere in between.

Changed August 27, 2012 04:17PM UTC by dmethvin comment:2

owner: → dmethvin
status: openassigned

Changed August 28, 2012 09:13PM UTC by dmethvin comment:3

resolution: → fixed
status: assignedclosed

Fix #12347 and #12384. Use a fresh div in jQuery.clean each time.

Regression was introduced in 22ad8723ce07569a9b039c7901f29e86ad14523c most likely because the clown who fixed didn't add a unit test.

Changeset: b6a7d022eeb8c2cb0b065a311e53f9ea98554600