Trim paragraphs for proper markup handling

Regexes assume that we don’t have space around the text