repairing inline links