Regression in .append() .prepend() etc, between 1.2.6 and 1.3.1

Regression in .append() .prepend() etc, between 1.2.6 and 1.3.1


I just created a ticket (http://dev.jquery.com/ticket/4174) with demo/
test-cases for both versions of jQuery...
---------------------------------------
The following code produces quite different results in jQuery 1.2.6
and 1.3.1 ...
var protoElm = $('#proto b');
protoElm
.bind('click', function(e){
alert("I'm a click event!");
});
$('p')
.append( protoElm )
.prepend( protoElm );
Results in jQuery 1.2.6:
All paragraphs have a <b> element appended and prepended
Clicking all <b>s triggers an alert!
Results in jQuery 1.3.1:
The prototype <b> disappears
Not all paragraphs have a <b> element appended and prepended.
Only clicking the first <b> triggers an alert!