Modify match/replace for corrected HTML entities.