Ticket #4087 (1.3 regression due to documentFragment)

Ticket #4087 (1.3 regression due to documentFragment)


This looks like a difficult one to fix:
http://dev.jquery.com/ticket/4087
In 1.3.x the selected nodes are moved out of the document before the
insert operation is performed. That means any inserts that depend on
the position of selected nodes won't work.
Ideas?