Retrive data from database with html format and load into word

Hi,
i do have data in database in html format and i need it load into word document with some merge fields. I need to get the same rich text format.
Fo suppose, when i enter some text "Hi i am Testing."
and the database column is loaded with "
Hi i am Testing.
"
so when i am trying to retrieve the data from database to teh word document,
the word document should contain "Hi i am Testing." .
But presently i am getting "
Hi i am Testing.
" in the word.
So what to do to get the original data with richtext format.

Hi
Thanks for your inquiry. I think that you should use MergeField event to achieve this. You can find solution here.
https://reference.aspose.com/words/net/aspose.words.mailmerging/ifieldmergingcallback/
I hope that this will help you.
Please, let me know if would like to know something else.
Best regards.