Fix parsing for titles ending in special characters