How to prevent the creation of paragraphs while parsing?