Skip to main content

Bug Tracker

Side navigation

#13770 closed bug (notabug)

Opened April 12, 2013 02:19PM UTC

Closed April 12, 2013 03:39PM UTC

XHTML-style bug while parsing XML element

Reported by: jaroslaw@collibra.com Owned by: jaroslaw@collibra.com
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

Attachments (0)
Change History (3)

Changed April 12, 2013 02:50PM UTC by gibson042 comment:1

owner: → jaroslaw@collibra.com
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.

Changed April 12, 2013 03:20PM UTC by anonymous comment:2

Here is simple test case that i've described:

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

Changed April 12, 2013 03:39PM UTC by gibson042 comment:3

resolution: → notabug
status: pendingclosed

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