There is no way to distinguish automatic line breaks with intentional line breaks. For paragraphs, I just replace double line breaks with a temporary character, then replace all the single line breaks with a space, then replace all my temporary characters with a paragraph break. After that a little clean up is still required, but the bulk of the work is done. The temporary character used should not appear anywhere in the document so I use something like a ~ or a ` or replace with a string such as ~~~~~.
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 19, 2005 2:26 PM To: [email protected] Subject: Word wrapping messages Many email messages are line wrapped after 80 chars. This is unneccesary and unwanted in HTML. Is there any way to undo this? (Simply removing the newlines isn't good enough, as we want to keep paragraphs as well as intentional, midline line breaks).
