mhonarc-users

Re: Problem with <PRE> tag of the converted messages

1999-09-06 15:24:00
On Mon, 6 Sep 1999, Martin List-Petersen wrote:

My problem is very simple:
Since many eMail programs automatically wrap lines after lets say 79 chars or
so....
So how do i get rid of the <PRE> formatting, which MHonArc does to the eMails
(I couldn't find anything in the documentation) og how do i get MHonArc to
break lines longer as XX chars at conversion time ??

not sure if this is the wrong answer to the wrong question, but
for formatted html display after removing the pre tags:

 $msgline = s/\s\s/\xA0\xA0/g; # replaces double spaces with nbsp;
 $msgline .= "<br>";           # add a break to line-end.

 the browser will then automatically wrap long lines and preserve spacing.
 one can change this to preserve tabs \t with the correct num of nbsp
 these lines to be injected somewhere in the printing loop.
 

Regards,
Martin List-Petersen

--
Eddie Dunckley - Obsidian Systems, home email (24hr delayed mail checks)
Leave voice messages at +2711-792-6500,   http://www.obsidian.co.za/eddie/
Join my mission to create a virtual office -see http://demo.obsidian.co.za
                                                                           

<Prev in Thread] Current Thread [Next in Thread>