Felamimail: improve link target replacement