Fold text onto a single line, replacing every carriage return, line feed, tabulation and Unicode line break -- the
next-line, line and paragraph separators (U+0085, U+2028, U+2029), which Pango breaks a line at too -- with a space.
This is what everything displaying an item in a one-line context — the command line's --oneline, the history rows, the search provider's results — has to do to it first.
| text |
the initial text |
|
the newly allocated string |