Hyperlink inside IfField formatting on Document.Update() inconsistent with Word

Hi Team,

I’ve noticed an odd difference between how styles are applied to hyperlinks inside ifFields when a Document.UpdateFields() is performed as compared to updating fields in Word. In the attached project, I m using a template with a few hyperlinks with varying formatting, I just load it, update fields, and save. If you then open the output file, and perform Word’s update, you’ll notice that the fields are formatted differently to what was output by the code - it seems that Word update uses the formatting from the surrounding paragraph if the hyperlinks are inside IfField. Could you please have a look?

Thanks,
Tomek

hyperlinkFormattingDifference.zip (32.2 KB)

@acturisaspose
We have opened the following new ticket(s) in our internal issue tracking system and will deliver their fixes according to the terms mentioned in Free Support Policies.

Issue ID(s): WORDSNET-25320

You can obtain Paid Support Services if you need support on a priority basis, along with the direct access to our Paid Support management team.

The issues you have found earlier (filed as WORDSNET-25320) have been fixed in this Aspose.Words for .NET 23.6 update also available on NuGet.