Forum


Replies: 6   Views: 2505
Span tag removes space after
Topic closed:
Please note this is an old forum thread. Information in this post may be out-to-date and/or erroneous.
Every phpdocx version includes new features and improvements. Previously unsupported features may have been added to newer releases, or past issues may have been corrected.
We encourage you to download the current phpdocx version and check the Documentation available.

Posted by admin  · 25-01-2019 - 15:48

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.