I have a standard $.ajax() call in my script. It requests HTML (in this case an HTML table row) from a given URL and then inserts it somewhere on the page.
The returned string sometimes contains newline characters or tabs. Prior to version 2.0, both of these worked:
$(data).appendTo(elem);
$(data).prependTo(elem);
After upgrading to jQuery 2.0, newlines and tabs must be removed. Simply replacing them with spaces still triggers the same bug (even though there are spaces elsewhere in the string which work fine).
Interesting, and annoying ...