Using plain text string the data aligns with the merge tag just fine.
Converting the plain text string into HTML string using the class below seems to over-write the formatting and placement
private class HandleMergeFieldInsertHtml : IFieldMergingCallback
Template before merge
Template after the merge