Syncfusion.DocIO.Base IWParagraph AppendHTML multiple bold within UL

Bold formatting within UL LI Tag is not working using AppendHTML, only the first bold text is recognized.

In normal text without UL/LI it is working.

Example:

Source:
  • asfdsf sfsfsdf sdfsdfsd werwer
  • sfsdfsdf ssdfdf werwerwerw
  • werwer ere rer ererere

Word:
  • asfdsf sfsfsdf sdfsdfsd werwer
  • sfsdfsdf ssdfdf werwerwerw
  • werwer ere rer ererere

Thanks Mike



3 Replies

MJ Mohanaselvam Jothi Syncfusion Team June 4, 2018 11:33 AM UTC

Hi Michel,

Thank you for contacting Syncfusion support.

We have tried to reproduce the reported problem using the given details, but it works properly at our end. From the given details (“Syncfusion.DocIO.Base IWParagraph AppendHTML”), we suspect that you are using Base assemblies to perform HTML to Word conversion. So, we have checked the reported problem in a sample application using Syncfusion.DocIO.Base assembly and please find that sample from the below link:
http://www.syncfusion.com/downloads/support/forum/137885/ze/F137885-358031845.zip

We suspect that the problem might be due to the contents in the input HTML and code snippets used at your end. So, could you please provide us the below details:
   1. Modified sample of above along with the input HTML.
   2. Our latest version is 16.1.0.37, please provide us the assembly version which used at your end.

Based on the above details, we will analyze further and provide you the appropriate solution at the earliest.


Please let us know if you have any other questions.

Regards,
Mohanaselvam J


 



MB Michel Baschung June 4, 2018 03:30 PM UTC

Hi Mohanaselvam J

I assume that the problem is because we fill the html within a table. 

Please check your modified sample attached. 

It will fill a template word with a html append and after you will see, only the first word within the list is bold.

Thanks and best Regards
Michel


Attachment: GenerateWord_76646fb1.rar


DB Dilli Babu Nandha Gopal Syncfusion Team June 5, 2018 03:36 PM UTC

Hi Michael, 
 
Thank you for your update. 
 
On analyzing the given sample, we found that the paragraphs in table are appended improperly which lead to the reported bold preservation issue. We have modified your sample and now, the issue has been resolved. We have shared the sample and generated Word document for your reference which can be downloaded from the following link. 
 
Note: This is not a bug in DocIO, it is a usage level issue. 
 
Please let us know if you have any questions. 
 
Regards, 
Dilli babu. 


Loader.
Up arrow icon