SIGN IN SIGN UP

A utility-first CSS framework for rapid UI development.

0 0 0 TypeScript

ensure `\n\n` are kept as `\n\n`

When splitting `'foo\n\nbar'` by `\n`, you will get `['foo', '', 'bar']`.

The `''` value will result in `[]` after the word wrapping. This
information gets lost when we `flatMap`, so let's keep the newline using
`['']` as the fallback.
R
Robin Malfait committed
1d1535af9091beb3fb7e2d711eb20e94de43b2ec
Parent: be10cf4