Account for GFM's link rewriting