Forum


Replies: 8   Views: 4149
Embed html and page-break-inside property
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  · 28-08-2017 - 19:00

Hello,

MS Word doesn't have a tag for lists. Lists are paragraphs but with an special numbering style; so when you add a list, the conversion from HTML to MS Word included in phpdocx generates a paragraph for each list item (but there's no root element that wraps all items of the list, as each item has its own w:p tag and a numbering style).

UPDATE: https://www.phpdocx.com/documentation/snippets/prevent-break-table-HTML

Regards.