Additional Text Elements injected after .clone() in IE6

Additional Text Elements injected after .clone() in IE6


Hi, first thank you John for the great gift (jquery)!
In IE6(winxp) seems that new text nodes, not that are not present in
the original <li>,
gets inserted between the <fieldset> and the <div>, if we .clone() it.
<html>
    <head>
        <script src='jquery-2009-02-16.js'></script>
    </head>
    <body>
        <ol>
            <li class="test">
                <fieldset></fieldset><div></div>
            </li>
        </ol>
        <script>
            var o = $('li.test');
            var c = o.clone();
            o.after(c);
        </script>
    <body>
</html>