HTML strip <!--
Remco Barendse
mailscanner at BARENDSE.TO
Mon Aug 2 18:10:31 IST 2004
<x-flowed>
Without a doubt I am doing someting wrong (its the second time ever I am
using the patch command) but I am getting this error:
[root at linuxgw MailScanner]# patch -p0 < patch
patching file Message.pm
patch: **** malformed patch at line 4: $htmlparser->{textify}{img} =
'src';
I have upgraded to the latest stable just before (4.32.5)
All the text between the snips I copied to a new file with vi called patch
and put that in the /usr/lib/MailScanner/MailScanner dir
Tried to execute from there.
Where did I screw up? :)
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