pre-wrap mode

Enable { whiteSpace: 'pre-wrap' } on prepareWithSegments to keep whitespace and breaks.