Forum


Replies: 5   Views: 3793
Replacetemplatevariablebyhtml + 2 tables = line break
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 elyazalee  · 08-10-2013 - 20:26

Hi



When I sur replaceTemplateVariableByHTML() with HTML code contains 2 tables : On the docx I have line break



HTML :





DocX :





Can you help me ?



Thanks


Posted by elyazalee  · 08-10-2013 - 20:27

The images were not displayed :



http://www.elyazalee.net/html.PNG



http://www.elyazalee.net/word.PNG



 



 


Posted by jorgelj  · 09-10-2013 - 09:13

Hello,



Word creates two tables. If you don't want that space you just need to create a single table.



Regards.


Posted by elyazalee  · 14-10-2013 - 12:22

I can not generate a single table. I just want him to have no line break between two tables (this is possible in Word).


Posted by jorgelj  · 14-10-2013 - 12:28

Hello,



When you do that with Word, it removes both tables and create a single one.



Regards.