Skip to main content

Bug Tracker

Side navigation

#9494 closed bug (invalid)

Opened June 02, 2011 02:38PM UTC

Closed June 17, 2011 08:00AM UTC

Last modified June 19, 2011 02:08AM UTC

A bug of html(obj) function

Reported by: fwwxxjingling@163.com Owned by: fwwxxjingling@163.com
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 "![CDATA[" and "]]" should be given to the innerHTML of the html element,"someID".

Thanks, James

Attachments (0)
Change History (6)

Changed June 02, 2011 03:11PM UTC by rwaldron comment:1

owner: → fwwxxjingling@163.com
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.

Changed June 17, 2011 08:00AM UTC by trac-o-bot comment:2

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!

Changed June 17, 2011 03:19PM UTC by anonymous comment:3

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

Thanks, James

Changed June 17, 2011 03:20PM UTC by fwwxxjingling@163.com comment:4

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

Thanks, James

Changed June 17, 2011 03:25PM UTC by ajpiano comment:5

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.

Changed June 19, 2011 02:08AM UTC by fwwxxjingling@163.com comment:6

Replying to [comment:5 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/