Replies: 5   Views: 3659
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


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


DocX :

Can you help me ?


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

The images were not displayed :



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


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


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


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