replace link with hidden span