Merging doesn't apply formatting (color & font) set in word

Hello,

I’m using Aspose.Word v21.2.

I just got a problem when merging some document, you can see in attachment the word template and the generated document from merge:
Template.docx (32.5 KB)
Merged.docx (20.1 KB)

The text is in red in the template, with in the generated document there is no formatting anymore (no red color, no font).
But the date below have the correct color and font.

Do you know what’s happen ?
Thank you
Fabrice

@Fabske I cannot reproduce the problem using the latest 22.8 version of Aspose.Words for NET. Here is a simple code used for testing:

// Create dummy data source
DataTable root = new DataTable("Entity@f42cd03d-ce71-eb11-bdb2-00155d000200");
root.Columns.Add("ParentEntity_id");
root.Rows.Add("0");

DataTable dt = new DataTable("ParentEntity");
dt.Columns.Add("id");
dt.Columns.Add("ManagementBoard Name#411");
dt.Rows.Add("0", "Test Value");

DataSet ds = new DataSet();
ds.Tables.Add(root);
ds.Tables.Add(dt);
ds.Relations.Add(root.Columns["ParentEntity_id"], dt.Columns["id"]);

// Execute mail merge.
Document doc = new Document(@"C:\Temp\in.docx");
doc.MailMerge.UseNonMergeFields = true;
doc.MailMerge.ExecuteWithRegions(ds);
doc.Save(@"C:\Temp\out.docx");

Here is the output document: out.docx (23.3 KB)
As you can see text formatting is properly preserved.