Forum


Replies: 1   Views: 3476
Embedhtml: space disappear between inline tags
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 jeremie  · 10-10-2014 - 11:48

The embedHTML method deletes the space between inline HTML tags. The folowing code : $text = 'Word1Word2'; $docx->embedHTML($text); $docx->createDocx('test'); will produce the following result : Word1Word2 instead of : Word1 Word2 The same is observed with all combinations of inline tags : Word1Word2Word1Word2Word1Word2 will output the same wrong result without the space between the words. Is there a fix to that problem?

Posted by admin  · 12-10-2014 - 11:21

Hello, Is Tidy installed and enabled in your web server? Regards.