Forum


Replies: 24   Views: 10387
<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  · 18-12-2015 - 14:49

>>Maybe you could add other tag after the ul to set that margin-bottom or even apply this style to only the last li item.

It is not feasible to add a style to the last listitem.  We have ~31,000 rows of data, with several hundred <ul>s and <ol>s.

I did find another workaround.  I added this to the default section of the switch statement in closePreviousTags():

if ($tag == 'ul' || $tag == 'ol') {
     self::$openBr++;
}

It works OK.  Not the best, but it will do..