Forum


Replies: 4   Views: 2006
Embedhtml adds space in table cell
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 greGiii  · 18-07-2019 - 12:46

Hi, I have a small anoying issue when in every cell a space is added in front of the content. I tried to create a no CSS table aswell and still the space is present.

PHPdocX 9 version.

simple example:

$this->phpdocx->embedHTML('<table><tr><td>TEST</td></tr></table>');

https://i.ibb.co/m6zqYw9/Capture.png

Posted by admin  · 18-07-2019 - 15:21

Hello,

Which license are you using? Your username doesn't have any license tied.

We have done some quick tests and everything is working correctly.

Regards.

Posted by greGiii  · 19-07-2019 - 06:32

I'm currently using the free licence :/. I need to make sure that everything works before we buy and put it on production. 

If this issue wont persist on the bought version then there is no problem :)

Posted by admin  · 19-07-2019 - 15:57

Hello,

Sorry but the trial package can't be debugged. Maybe could be the same issue than https://www.phpdocx.com/en/forum/default/topic/1778?

We recommend you to ignore that extra space. If you purchase a license please contact us again and we'll be able to help you solving the issue.

Regards.

Posted by greGiii  · 24-07-2019 - 11:09

Hi,

The embedHTML option removeLineBreaks set to true solved my issue.

Regards, Grega