PHPOffice / PHPWord

A pure PHP library for reading and writing word processing documents
https://phpoffice.github.io/PHPWord/
Other
7.27k stars 2.7k forks source link

HTML styles not working #828

Open AdnanInayat opened 8 years ago

AdnanInayat commented 8 years ago

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!](https://www.bountysource.com/issues/35680460-html-styles-not-working?utm_campaign=plugin&utm_content=tracker%2F323108&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F323108&utm_medium=issues&utm_source=github).
Makiss commented 8 years ago

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