Fix links attribute.