Ticket #1898 (closed bug: duplicate)
$("div", some_html_string) where string has EOL
|Reported by:||apfelstrudel||Owned by:|
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:
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