Copy text out of a PDF, an old email or an e-book and it arrives chopped: every line ends abruptly, sentences are sliced mid-thought, and pasting it anywhere produces a ragged mess. The line breaks were never really in the writing — only in the presentation. Removing them is a five-second job once you know what to protect.
PDFs store the appearance of a page, not the flow of its text. To a PDF, a paragraph is a series of separately positioned lines, and copy-paste faithfully reproduces every one of those line endings. The same happens with plain-text emails wrapped at 72 characters and with text copied from some e-readers. None of it is your document's fault.
What "remove line breaks" should actually do
The naive fix — delete every newline — creates a new problem: your paragraphs fuse into one giant block. A good line-break remover does two things at once:
Joins wrapped lines with a space, so a sentence split across three printed lines becomes one flowing sentence
Discussion
Jump in and comment!
Get the ball rolling with your comment!