Repair awkward pasted paragraphs
Text copied from PDFs often breaks every visual line. Collapse the breaks before editing the sentence itself.
Collapse line breaks into spaces, then squash runs of whitespace and trim the result. Handy for pulling text out of a wrapped document and preparing it for a single-line context like a tweet, alt text, or a SQL value.
Are paragraph breaks preserved?
No. Every line break becomes a single space.