Forum


Replies: 24   Views: 10364
<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  · 17-12-2015 - 19:42

I figured it out.  I added the following code to generatePPr()  around line 1592 (for some reason, my file line numbers are slightly different that yours..)

else{
    $stringPPr .= $this->pPrSpacing($properties);
 }

It works, and I have not noticed any ill effects.  Now <ul>s and <ol>s are rendered perfectly, even with strictWordStyles = true.

Thanks for the help.