replacing br tags with paragraph tags