Ticket #5806 (closed bug: fixed)
jQuery leaves textnodes in replaceWith
|Reported by:||Sebmaster||Owned by:|
I think the title describes the problem pretty good. If i call replaceWith on a text node (in this case, don't have the time to test much further), replaceWith only replaces with content inside of HTML-tags.
It worked for me in jQuery 1.4a1 and jQuery 1.3.2. Might be related with #5483?