Bug Tracker

Opened 16 years ago

Closed 16 years ago

#1898 closed bug (duplicate)

$("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 [http://www.ivy.fr/ notes/jquery-html-string-bug.html].

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

Change History (1)

comment:1 Changed 16 years ago by brandon

Resolution: duplicate
Status: newclosed

Duplicate of #1888

Note: See TracTickets for help on using tickets.