Got my functions to only take paragraph tags and now it keeps spaces and puts spaces between all paragraphs