Replies: 2   Views: 2906
Replacevariablebyhtml() introducing leading space and/or newlines.
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  · 19-12-2017 - 19:24


UPDATE: New releases of phpdocx set a very high wrapping value to prevent bugged Tidy versions (that don't recognize 0 as a valid wrapping value) adding extra line breaks when reading HTML contents that generated extra blank spaces in the DOCX.
On there's more information about this same question (Extra blank spaces added to the beginning of paragraphs section).