Forum


Replies: 3   Views: 3628
Replacetemplatevariablebyhtml first is space
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 nikkyb8  · 28-10-2015 - 14:08

Hello,

When I use replaceTemplateVariableByHTML , I always have a space in the beginning regardless of the content example:
$html = 'hello';
give me
 hello

 
Here is a topic on this subject that has not been resolved : http://www.phpdocx.com/en/forum/default/topic/681

 


How to fix this?