Forum


Replies: 5   Views: 1533
Extra space printed before the replaced variable with "replacevariablebyhtml"
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  · 02-10-2020 - 11:29

Hello,

OK, now we understand the exact issue. It wasn't a Tidy issue, but the content that was being added (we misunderstood the code). Replacing and adding HTML require using at least one tag to wrap the content; to use plain strings without HTML we recommend using replaceVariableByText.

Regards.