We fail a number of tests due to different newlines around end tags. For example, in the "Paragraphs with newline spacing with non-empty white-space lines in between" testcase, the expected output begins:
<hr />
<p>a
</p><p>b
</p>
<hr />
while Parsoid emits:
<hr/>
<p>a</p>
<p>b</p><hr/>
We should (carefully) normalize trailing whitespace and inter-element whitespace (IEW) to make these tests pass (without obscuring real whitespace issues).
Bug 55588 is related, it deals with the IEW issue. But there is also trailing whitespace to consider.
Simply normalizing \n</p> <-> </p>\n might be a good start.
You can see a lot of these issues by running parserTests.js --update-tests and then using git diff to see the changes made.
Version: unspecified
Severity: normal