You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spamassassin.apache.org by he...@apache.org on 2019/08/08 15:14:13 UTC
svn commit: r1864713 - in /spamassassin:
branches/3.4/lib/Mail/SpamAssassin/Message/Node.pm
trunk/lib/Mail/SpamAssassin/Message/Node.pm
Author: hege
Date: Thu Aug 8 15:14:13 2019
New Revision: 1864713
URL: http://svn.apache.org/viewvc?rev=1864713&view=rev
Log:
Update comments too..
Modified:
spamassassin/branches/3.4/lib/Mail/SpamAssassin/Message/Node.pm
spamassassin/trunk/lib/Mail/SpamAssassin/Message/Node.pm
Modified: spamassassin/branches/3.4/lib/Mail/SpamAssassin/Message/Node.pm
URL: http://svn.apache.org/viewvc/spamassassin/branches/3.4/lib/Mail/SpamAssassin/Message/Node.pm?rev=1864713&r1=1864712&r2=1864713&view=diff
==============================================================================
--- spamassassin/branches/3.4/lib/Mail/SpamAssassin/Message/Node.pm (original)
+++ spamassassin/branches/3.4/lib/Mail/SpamAssassin/Message/Node.pm Thu Aug 8 15:14:13 2019
@@ -696,8 +696,7 @@ sub rendered {
my $text = $self->decode; # QP and Base64 decoding, bytes
my $text_len = length($text); # num of bytes in original charset encoding
- # render text/html always, or any other text|text/plain part as text/html
- # based on a heuristic which simulates a certain common mail client
+ # render text/html always
if ($text ne '' && $self->{'type'} =~ m{^text/html$}i)
{
$self->{rendered_type} = 'text/html';
Modified: spamassassin/trunk/lib/Mail/SpamAssassin/Message/Node.pm
URL: http://svn.apache.org/viewvc/spamassassin/trunk/lib/Mail/SpamAssassin/Message/Node.pm?rev=1864713&r1=1864712&r2=1864713&view=diff
==============================================================================
--- spamassassin/trunk/lib/Mail/SpamAssassin/Message/Node.pm (original)
+++ spamassassin/trunk/lib/Mail/SpamAssassin/Message/Node.pm Thu Aug 8 15:14:13 2019
@@ -716,8 +716,7 @@ sub rendered {
$charset = 'us-ascii';
}
- # render text/html always, or any other text|text/plain part as text/html
- # based on a heuristic which simulates a certain common mail client
+ # render text/html always
if ($text ne '' && $type eq 'text/html')
{
$self->{rendered_type} = 'text/html';