Ticket #9494 (closed bug: invalid)
A bug of html(obj) function
| Reported by: | fwwxxjingling@… | Owned by: | fwwxxjingling@… |
|---|---|---|---|
| Priority: | undecided | Milestone: | 1.next |
| Component: | unfiled | Version: | 1.6.1 |
| Keywords: | Cc: | ||
| Blocking: | Blocked by: |
Description
If obj like "...![CDATA[some content]]...", when using jquery statement like below; $("#someID").html(obj), please make sure the content between "![CDATAand?]" should be given to the innerHTML of the html element,"someID".
Thanks, James
Change History
comment:1 Changed 2 years ago by rwaldron
- Owner set to fwwxxjingling@…
- Status changed from new to pending
comment:2 Changed 2 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!
comment:3 Changed 2 years ago by anonymous
Please reopen it. I will keep an eye on it until it is resolved.
Thanks, James
comment:4 Changed 2 years ago by fwwxxjingling@…
Please reopen it. I will keep an eye on it until it is resolved.
Thanks, James
comment:5 follow-up: ↓ 6 Changed 2 years ago by ajpiano
It's not going to be resolved unless you provide a testcase. There's nothing to keep an eye on until you do. If you do, we can reopen the ticket.
comment:6 in reply to: ↑ 5 Changed 2 years ago by fwwxxjingling@…
Replying to ajpiano:
It's not going to be resolved unless you provide a testcase. There's nothing to keep an eye on until you do. If you do, we can reopen the ticket.
Here is the test case: http://jsfiddle.net/V988M/7/
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

Thanks for taking the time to contribute to the jQuery project! Please provide a reduced jsFiddle test case to help us assess your ticket!
Additionally, be sure to test against the jQuery Edge version to ensure the issue still exists. To get you started, I've created this boilerplate: http://jsfiddle.net/rwaldron/da3nM/ Open the link and click to "Fork" in the top menu.