Ticket #5447 (closed bug: invalid)
clone() contains unwanted </div> in IE8
| Reported by: | singlewind | Owned by: | singlewind |
|---|---|---|---|
| Priority: | critical | Milestone: | 1.4 |
| Component: | core | Version: | 1.3.2 |
| Keywords: | clone IE | Cc: | |
| Blocking: | Blocked by: |
Description
<div> <object id="object" > <param name="width" value="100" /> ... <embed ... /> </object> <br /> <p></p> </div>
jQuery(function($){
alert($('#object').html()); alert($('#object').clone().html());
});
the first alert showing "<embed .../>", all the params are ignored. the seconde alert showing "<embed /> </div>" which contains unwanted '</div>'.
Change History
comment:2 Changed 3 years ago by trac-o-bot
- Status changed from pending to closed
- Resolution set to invalid
Because we get so many tickets, we often need to return them to the initial reporter for more information. If that person does not reply within 14 days, the ticket will automatically be closed, and that has happened in this case. If you still are interested in pursuing this issue, feel free to add a comment with the requested information and we will be happy to reopen the ticket if it is still valid. Thanks!
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

Please provide a reduced test case on jsFiddle demonstrating this issue if it still exists in current versions of jQuery.