Hi, I have a problem when replacing the merge field by the hyperlink which also include the if condition in mail merge, the hyperlink is displayed in wrong position (should be same as merge field position but it is in front of the if condition), I'm stuck with this like 2 days, and I think it's a bug of yours.
Original purpose: format the merge field to be in html
With the simple attached code, everything seems fine.
Issue: If the text of merge field includes hyperlink and in condition, it's not working as expected anymore => the html text is displayed in wrong position.
E.g: replace the link by something like google: <a href="link" rel="noopener noreferrer" target="_blank">link</a>, encode first if needed
More info: The appendHtml works fine, but I want something like insertHtml. The problem only occurs when merge field is in if condition.
I've attached the doc template and the simple code
Pls help take a look. Thanks