Make links document-relative.