Last modified: 2013-02-15 19:32:18 UTC
This doesn't happen when using /_rt/ or /_html/ , but it does happen when POSTing content directly to a page: 1. Create a very simple page (such as one with a single line of text) 2. Open it in the editor 3. Bold a word 4. Attempt to save the page 5. The diff will show a trailing newline being added I'm guessing there might be trailing newlines in the HTTP output from Parsoid, which then aren't stripped because Parsoid doesn't set a Content-Length header.
Upgrading JSDOM to >= 0.4 fixes this.