PHPOffice / PHPWord

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

Expanding support for HTML5 #836

Open csedev opened 8 years ago

csedev commented 8 years ago

Hi Team,

Would you consider a patch to increase support for HTML5 by replacing the DOMDocument parser with a library such as:

https://github.com/Masterminds/html5-php or https://github.com/html5lib/

Alternatively, we could keep DOMDocument, but pass a parameter that would select between HTML5 only when required.

Thoughts?

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/36047697-expanding-support-for-html5?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).
lolaslade commented 2 years ago

This would be very helpful.