Really fix edit link substitution