Mailing List Archive

svn commit: rev 6774 - incubator/spamassassin/trunk/lib/Mail/SpamAssassin
Author: jm
Date: Thu Feb 19 00:22:37 2004
New Revision: 6774

Modified:
incubator/spamassassin/trunk/lib/Mail/SpamAssassin/PerMsgStatus.pm
Log:
rule_tests passes again

Modified: incubator/spamassassin/trunk/lib/Mail/SpamAssassin/PerMsgStatus.pm
==============================================================================
--- incubator/spamassassin/trunk/lib/Mail/SpamAssassin/PerMsgStatus.pm (original)
+++ incubator/spamassassin/trunk/lib/Mail/SpamAssassin/PerMsgStatus.pm Thu Feb 19 00:22:37 2004
@@ -96,9 +96,6 @@
$self->{pattern_hits} = { };
}

- # HTML parser stuff
- $self->{html} = {};
-
bless ($self, $class);
$self;
}
@@ -150,6 +147,11 @@
# do body tests with decoded portions
{
my $decoded = $self->get_decoded_stripped_body_text_array();
+
+ # TODO: this has been put on the metadata object. should we
+ # use it directly there?
+ $self->{html} = $self->{msg}->{metadata}->{html};
+
# warn "dbg ". join ("", @{$decoded}). "\n";
$self->do_body_tests($decoded);
$self->do_body_eval_tests($decoded);