Re: Question about MIME and HTML Email

From: Daniel Stenberg <>
Date: Thu, 15 Oct 1998 20:13:43 +0200 (MET DST)
Message-ID: <>

On Thu, 15 Oct 1998, Byron C. Darrah wrote:

> I think it would be highly appropriate for hypermail to be HTML-friendly
> since, after all, it's purpose is to output web pages.

I agree. We "must" make it work.

> So a filter is needed that sanitizes HTML so that it can be directly
> included within a hypermail message.


> -- Strip out any unknown or undesirable HTML tags.

Eh, no, it should keep unknown tags and removed undesirable ones. We can't possibly know what kind of tags they will introduce in the future.

> -- Strip out content of <head> and <title> containers.

Those are undesirable and should be removed.

> -- Close any open containers (for eg, make sure that <table> is
> always eventually followed by a matching </table>).

<table> is indeed one of the more nasty things we can do to mess up a netscape page :-)

> I actually have some code sitting around that would probably be easy for
> me to modify to get it to do this. Kent, if you like, I could do this
> and give you the result.

I'd be happy to assist if there's a need for it.

             Daniel Stenberg -
   ech`echo xiun|tr nu oc|sed 'sx\([sx]\)\([xoi]\)xo un\2\1 is xg'`ol
Received on Thu 15 Oct 1998 08:16:38 PM GMT

This archive was generated by hypermail 2.3.0 : Sat 13 Mar 2010 03:46:11 AM GMT GMT