.clone() problem in IE6

.clone() problem in IE6


Hi everybody,
First post here ;-)
I have been testing the following code (for a kind of "print
preview") :
var $htmlPrint = $('html').clone();
// alert($('html').html());
// alert($htmlPrint.html());
$htmlPrint.find('script').remove().end().find('.print').remove();
It works nice in FF, Opera but in IE6 the variable $htmlPrint.html()
returns an empty string.
Using jQuery 1.3.2.
Should it be a bug in the clone() function ?
Regards
David