Phpword: HTML styles not working

Created on 1 Jul 2016  路  1Comment  路  Source: PHPOffice/PHPWord

Hi developers.
I am using PHPword for exporting my website data entered by users who visited my website and fill the form to a .docx file.
I am using a template and placeholders to set the values. All things are going perfect. Thumbs up for you guys.
But now some requirements changed and I have some field with WYSIWYG editor in my form. WYSIWYG gives me output in HTML tags. So I want to show that information as it is showing in the browser to the docx file. I have searched through the internet but could not find a solution.
Can you guys guide me through how to solve this beast.
All my working is stuck due to this issue.
Thank you


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

Most helpful comment

Did you find any solution? I also need to convert WYSIWYG editor generated html to docx.

>All comments

Did you find any solution? I also need to convert WYSIWYG editor generated html to docx.

Was this page helpful?
0 / 5 - 0 ratings