fix line break formatting

double line breaks now recognized.
No formatting if delimiters not contained