Remove new line characters in parserDidEndDocument