Collapse repeated spaces
Paste text with uneven spacing to reduce each run of spaces or tabs to one space. Whitespace at the beginning and end of every line is removed.
First second becomes First second, while line breaks remain unchanged.
Line-by-line trimming
The cleanup runs on each line rather than treating the document as one paragraph. Blank lines remain, but spaces on those lines are removed.
Indented text
Do not use this operation on source code, outlines, or preformatted text when leading whitespace carries meaning. The line trim removes indentation as part of the cleanup.