OutputHandling: improved whitespace control around paragraph boundaries