HTML strip <!--

John Rudd jrudd at UCSC.EDU
Mon Aug 2 10:20:07 IST 2004


<x-flowed>
I think the reason would be:

If you're wanting to strip HTML, then what you want to be left with is
plain text, basically.  If you still have the comment tags, it's not
really pain text, it's HTML with fewer tags (which is still an HTML
document).  That presents a logical contradiction: message minus html
!= html with fewer tags.

"Strip html" implies that the result should be without tags ... that
would imply to me that comment tags should be included in that "without
tags" part.

On Aug 2, 2004, at 12:47 AM, Julian Field wrote:

> Why bother? They are comments anyway.
>
> At 08:18 02/08/2004, you wrote:
>> Is it possible to also include "<!--  -->" in striphtml?
>
> --
> Julian Field
> www.MailScanner.info
> MailScanner thanks transtec Computers for their support
>
> PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
>
> -------------------------- MailScanner list ----------------------
> To leave, send    leave mailscanner    to jiscmail at jiscmail.ac.uk
> Before posting, please see the Most Asked Questions at
> http://www.mailscanner.biz/maq/     and the archives at
> http://www.jiscmail.ac.uk/lists/mailscanner.html

-------------------------- MailScanner list ----------------------
To leave, send    leave mailscanner    to jiscmail at jiscmail.ac.uk
Before posting, please see the Most Asked Questions at
http://www.mailscanner.biz/maq/     and the archives at
http://www.jiscmail.ac.uk/lists/mailscanner.html
</x-flowed>



More information about the MailScanner mailing list