On Error Resume Next
Set vis = CreateObject("Scripting.Dictionary")
vis("<$MTCommentIP$>") = "<$MTCommentAuthor$>::<$MTCommentID$>"
For Each e in Document.all
If UCase(e.TagName) = "A" Then
If vis(e.innerText) <> "" Then
e.insertAdjacentHTML "AfterEnd", " " & vis(e.innerText) & ""
End If
End If
Next