Merge ToC and section link sanitization.