Skip to main content

Bug Tracker

Side navigation

#1898 closed bug (duplicate)

Opened November 07, 2007 02:47PM UTC

Closed November 14, 2007 05:06AM UTC

$("div", some_html_string) where string has EOL

Reported by: apfelstrudel Owned by:
Priority: major Milestone: 1.2.2
Component: core Version: 1.2.1
Keywords: DOM Cc:
Blocked by: Blocking:
Description

I recently found a bug that is present in jQuery 1.1.4, 1.2.1 and

today's nightly build. In essence, doing this:

$("div", some_html_string)

Can fail in some cases where a '\\n' was inserted in the string.

You can find a test case exercising the bug here

notes/jquery-html-string-bug.html.

The original thread: http://groups.google.com/group/jquery-dev/browse_thread/thread/fa087c5e9e5d44d?hl=en

Attachments (0)
Change History (1)

Changed November 14, 2007 05:06AM UTC by brandon comment:1

resolution: → duplicate
status: newclosed

Duplicate of #1888