Table of Contents
- Quick Take
- Collapse boundary whitespace containing line breaks
- Preserve CRLF line endings
- Keep a chosen number of leading and trailing line breaks
- Preserve non-breaking-space boundaries
- Pass through non-string input
- Leave whitespace inside a multiline string unchanged
- Preserve a string that has no boundary whitespace
- Collapse strings containing only whitespace