Hello,
We have tested both HTML and they work correctly, the space between the paragraphs is not removed.
Please do the following tests:
· Don't use the removeLineBreaks option, you can set is as false as well.
· Wrap the HTML using a parent such a paragraph:
$html .= '<p><em>some</em> text</p>';
$docx->embedHTML($html);
Regards.