Bug Tracker

Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#9494 closed bug (invalid)

A bug of html(obj) function

Reported by: [email protected] Owned by: [email protected]
Priority: undecided Milestone: 1.next
Component: unfiled Version: 1.6.1
Keywords: Cc:
Blocked by: Blocking:

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 (6)

comment:1 Changed 10 years ago by Rick Waldron

Owner: set to [email protected]
Status: newpending

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.

comment:2 Changed 10 years ago by trac-o-bot

Resolution: invalid
Status: pendingclosed

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 10 years ago by anonymous

Please reopen it. I will keep an eye on it until it is resolved.

Thanks, James

comment:4 Changed 10 years ago by [email protected]

Please reopen it. I will keep an eye on it until it is resolved.

Thanks, James

comment:5 Changed 10 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 10 years ago by [email protected]

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/

Note: See TracTickets for help on using tickets.