On Tue, 20 Aug 2002, Greg Matheson wrote: > I'm running MHonArc on Windows and the HTML results for > text/plain messages have an extra line in them, ...
See for example, http://penpals.chinmin.edu.tw/arc/html/Hello-Computing/2002-08/msg00072.html http://penpals.chinmin.edu.tw/arc/html/.catch/2002-08/msg00296.html > The relevant part of the mhtxtplain.pl looks like it is around > line 389, where the <pre> tags are placed around the text. I tried inserting before line 380: $$data =~ s/\r?\n//g; But this gave me the message as one long unwrapped line. YOu can see the result at http://penpals.chinmin.edu.tw/arc/html/Hello-Computing/2002-08/msg00073.html I then tried $$data =~ s/\r?\n/\n/g; And this looks good, like at http://penpals.chinmin.edu.tw/arc/html/Hello-Computing/2002-08/msg00074.html and more recent messages. Actually that one looks good in Explorer, not so good in lynx. The more recent ones are single spaced in lynx too. There's something wrong with the [Original] link. I get an 'Input Error' message, but perhaps that's a problem for the mharc list. If you want the mail files, I could send them. Just plain Content-Type: text/plain; charset=US-ASCII (in most cases :-) I believe. Anyway, I think this should go in the distribution. I guess it has no effect on Unix-mode files. -- Greg Matheson If you're not making any mistakes, Chinmin College you must be making some mistake. Taiwan Penpals Archive <URL: http://netcity.hinet.net/kurage> --------------------------------------------------------------------- To sign-off this list, send email to [EMAIL PROTECTED] with the message text UNSUBSCRIBE MHONARC-USERS
