I am using Aspose.Words for .NET to merge salesforce data to word file. I have created .net application for that.
I have used IF condition in document to conditionaly display value of RichDescription as shown below.
{ IF { MERGEFIELD DoNotPrint__c } = “TRUE” “” “{ MERGEFIELD Hint:RT.RichDescription__c}” }
Here, Hint:RT is used to identify this field and write value of this field as html text using InsertHtml() in callback method.
The problem is if RichDescription contains double quote in text (ex. 10" pizza) then after merge it display only 10 and truncates the text after ".
This problem is not occured if filed is not rich description(html) and dislapy full value i.e. 10" pizza.
I am using version 13.5.0.0 of Aspose.Words for .NET.
Any work around or solution to solve this text truncation problem?