HTML strip <!--
Remco Barendse
mailscanner at BARENDSE.TO
Mon Aug 2 15:56:18 IST 2004
<x-flowed>
Cool, will try that tonight.
Will this make it into the production releases of MailScanner?
Thx!!
Remco
On Mon, 2 Aug 2004, Julian Field wrote:
> You should have suggested this earlier, it's easy :-)
>
> -----SNIP-----
> --- Message.pm.old 2004-07-27 01:18:25.000000000 +0100
> +++ Message.pm 2004-08-02 11:58:51.000000000 +0100
> @@ -3796,6 +3796,7 @@
> $htmlparser->{textify}{img} = 'src';
>
> while (my $token = $htmlparser->get_token()) {
> + next if $token->[0] eq 'C';
> my $text = $htmlparser->get_trimmed_text();
> print $textfh $text . "\n" if $text;
> }
> -----SNIP-----
> --
> 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