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

Chuck Hagenbuch chuck at horde.org
Mon Nov 19 05:46:45 UTC 2007


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.

-chuck


More information about the dev mailing list