Forum


Replies: 3   Views: 3205
How do i deal with html in a word fragment please
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 admin  · 16-10-2017 - 11:42

Hello,

The addText method adds text strings into documents, but if you need to transform HTML to Word you need to use the embedHTML method (this method works standalone and as WordFragment). Please check that PHP Tidy is installed and enabled on your server to import HTML and CSS.

Regards.