Opened 10 years ago
Closed 10 years ago
#13770 closed bug (notabug)
XHTML-style bug while parsing XML element
Reported by: | Owned by: | ||
---|---|---|---|
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
Owner: | set to jaroslaw@… |
---|---|
Status: | new → pending |
comment:3 Changed 10 years ago by
Resolution: | → notabug |
---|---|
Status: | pending → closed |
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.
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.