I need to convert html taged paragraph into word document.
For example i have a text like this
<ul><li>One</li><li>Two</li><li>Three</li></ul>
convert this into
- one
- Two
- Three
in word using phpword
or else get the xml
format for word document in php
If you need display static lists see here: https://github.com/PHPOffice/PHPWord/blob/develop/docs/elements.rst#lists
If you want convert html string to Word list then you need use regex and preg_match