Fix additional margins around paragraphs for rich-text-nodes in XHMTL.

This solves issue #1979.
Merge pull request #13 from htgoebel/fix-richtext-html

Fix additional margins around paragraphs for rich-text-nodes in XHMTL.