Replies: 1   Views: 270
Styles are reset if there is no data in html-tags
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 hostmaster  · 20-12-2021 - 14:07

Hello! Our company has a "Premium" version of your library. We encountered a problem described in this block That is, if there is no data in the html-tag, then the styles we set are not used. The option with the addition of & nbsp; that you advised us is not suitable, because our data is generated automatically and change them is a problem. Accordingly, the question is, could you show in the source code what needs to be changed in order to regardless of whether the tag is filled in or not to still apply the styles that were set by us?

And from this problem follows the following that after generation of docx of the document if to try to correct in manual any block, for example the list styles too are reset.