This seams to be an relict from the alpha stage where paragraphes have been handled as two new lines.
Now its a bit missleading as it looks in the editor fine and gets messed up after sending.
/** @var \DOMElement $node */
foreach ($childNodes as $node) {
if ($node->nodeType === XML_ELEMENT_NODE && $node->nodeName === 'p') {
- DOMUtil::insertAfter($node->ownerDocument->createTextNode("\n\n"), $node);
+ DOMUtil::insertAfter($node->ownerDocument->createTextNode("\n"), $node);
$brs = $node->getElementsByTagName('br');
while ($brs->length) {