[dev] IMP and html2text filter called from lib/MIME/Viewer/plain.php

Marc Jauvin marc at r4l.com
Mon Nov 19 17:53:28 UTC 2007


Chuck Hagenbuch <chuck at horde.org> wrote:

> Quoting Chris Stromsoe <cbs at cts.ucla.edu>:
>
>> That looks like it works ok.  The + inside the [\w+] inside the
>> regexp isn't necessary.  I changed it to
>
> It's actually there (along with the minus, which I must have lost in
> my version already) to match a literal plus (or minus).
>
>> I'm still not convinced that calling the plain text MIME viewer
>> should be interpreting HTML when viewed inline (ie, calling with
>> TEXT_HTML_MICRO instead of TEXT_HTML_NOHTML), but the change does
>> work and the attachment loads and displays quickly.
>
> I think most people expect URLs and email addresses to be linked when
> viewing plain text in an email client, and I know that I certainly
> find it useful.

Agreed, I use that feature everyday myself!


-- 
Marc Jauvin
514-905-6500
http://register4less.com


More information about the dev mailing list