Move to mergefield

Hello, I have problem with moveToMergeField.

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

builder.moveToMergeField(e.getFieldName());
builder.insertHtml(e.getFieldValue().toString());

}

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.

Hi,


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:
http://www.aspose.com/community/files/72/java-components/aspose.words-for-java/default.aspx

I hope, this helps.

Best regards,