Move to mergefield

Hello, I have problem with moveToMergeField.

My code is :
if (e.getFieldValue() instanceof String)



But in my documents template I have two different section but with the same name mergefield.
There I have to use insertHtml because the string have html tags. 
If I put normal to map I have good but with html tags :confused:
And I have the same values all position. I attachet my template and bad result.


Thanks for your inquiry. Youโ€™re using very old version of Aspose.Words for Java. We suggest you please upgrade to the latest version of Aspose.Words 15.3.0 from the following link:

I hope, this helps.

Best regards,