Bug Tracker

Opened 10 years ago

Closed 10 years ago

#13770 closed bug (notabug)

XHTML-style bug while parsing XML element

Reported by: jaroslaw@… Owned by: jaroslaw@…
Priority: undecided Milestone: None
Component: unfiled Version: 1.9.1
Keywords: Cc:
Blocked by: Blocking:

Description

Just run this in console:

$('body').html('<textarea><j-z/></textarea>');

jquery-1.9.1.js line: 6055

Change History (3)

comment:1 Changed 10 years ago by gibson042

Owner: set to jaroslaw@…
Status: newpending

Thanks for taking the time to contribute to the jQuery project! Please provide a complete reduced test case on jsFiddle 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, use this boilerplate: http://jsfiddle.net/FrKyN/ Open the link and click to "Fork" (in the top menu) to get started.

comment:2 Changed 10 years ago by anonymous

Here is simple test case that i've described:

http://jsfiddle.net/VNCJt/1/

comment:3 Changed 10 years ago by gibson042

Resolution: notabug
Status: pendingclosed

I didn't see an error, but I did see unescaped content. Fix: http://jsfiddle.net/VNCJt/2/

Note: See TracTickets for help on using tickets.