Quote:
Originally Posted by livingenzyme
Interesting... I didn't know word processor has this option. How do you do this?
|
With MS Word, you can search for "^p" which is the manual line break character. I usually replace with a space, so that this:
<p>It was a dark
and stormy night.</p>
<p>A shot rang out.</p>
becomes this:
<p>It was a dark and stormy night.</p> <p>A shot rang out.</p>
Then you can search and replace </p> with a ^p to get:
<p>It was a dark and stormy night.
<p>A shot rang out.
And replace the <p> markers with nothing to finish cleaning up.
The only drawback is if you are converting a file that has no specific end of line marker such as </p> in html. Attempting to convert any badly formatted plain text is a pain no matter what.