Forum


Replies: 24   Views: 10876
<li> with strictwordstyles = true
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 shroom  · 03-12-2015 - 17:13

Say I have a simple HTML <ul> list:

$html .= '<ul><li>One</li><li>Two</li><li>Three</li></ul>';

When embedHTML() is used with strictWordStyles = false, the list renders fine.  There is no extra space between the listitems.

When strictWordStyles = true, there is an extra space between the listitems.

What do I need to do to get rid of the extra space?

Thanks.