Forum


Replies: 4   Views: 458
Custom list style & bold using html extended with stylesreplacementtype
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 uncontested  · 18-08-2023 - 22:04

Hi, this is the account with license :)

Yes, sorry.... I forgot to add the class in the simplified code, but I have it in my code. The issue is the above sample renders the HTML in this way:

https://www.dropbox.com/scl/fi/dxgg6p7f1g3mia9zkyo2k/1.png?rlkey=5idaj2xjxhbf65zdytxvkk5y4&dl=0

 If I activate the addDefaultStyles to true, then it renders the bold but the font-size and line spacing is being changed.

https://www.dropbox.com/scl/fi/2j40bser5comgu357uj8p/2.png?rlkey=0bo1acsllpsuck8h5aijsp5op&dl=0

This is the main issue....