spamassassin-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From quin...@apache.org
Subject svn commit: rev 10274 - in incubator/spamassassin/trunk: lib/Mail/SpamAssassin rules
Date Mon, 26 Apr 2004 05:31:53 GMT
Author: quinlan
Date: Sun Apr 25 22:31:53 2004
New Revision: 10274

Modified:
   incubator/spamassassin/trunk/lib/Mail/SpamAssassin/HTML.pm
   incubator/spamassassin/trunk/rules/20_html_tests.cf
   incubator/spamassassin/trunk/rules/70_testing.cf
Log:
remove T_HTML_FONT_SIZE_BIG
remove HTML_FONT_FACE_ODD


Modified: incubator/spamassassin/trunk/lib/Mail/SpamAssassin/HTML.pm
==============================================================================
--- incubator/spamassassin/trunk/lib/Mail/SpamAssassin/HTML.pm	(original)
+++ incubator/spamassassin/trunk/lib/Mail/SpamAssassin/HTML.pm	Sun Apr 25 22:31:53 2004
@@ -810,9 +810,6 @@
     if ($attr->{face} !~ /^[a-z][a-z -]*[a-z](?:,\s*[a-z][a-z -]*[a-z])*$/i) {
       $self->{html}{font_face_bad} = 1;
     }
-    for (split(/,/, lc($attr->{face}))) {
-      $self->{html}{font_face_odd} = 1 if ! /^\s*(?:arial|arial black|courier new|geneva|helvetica|ms
sans serif|sans serif|sans-serif|sans-serif;|serif|sunsans-regular|swiss|tahoma|times|times
new roman|trebuchet|trebuchet ms|verdana)\s*$/i;
-    }
   }
   if (exists($attr->{style})) {
     if ($attr->{style} =~ /font(?:-size)?:\s*(\d+(?:\.\d*)?|\.\d+)(p[tx])/i) {

Modified: incubator/spamassassin/trunk/rules/20_html_tests.cf
==============================================================================
--- incubator/spamassassin/trunk/rules/20_html_tests.cf	(original)
+++ incubator/spamassassin/trunk/rules/20_html_tests.cf	Sun Apr 25 22:31:53 2004
@@ -113,9 +113,6 @@
 body HTML_FONT_FACE_BAD		eval:html_test('font_face_bad')
 describe HTML_FONT_FACE_BAD	HTML font face is not a word
 
-body HTML_FONT_FACE_ODD		eval:html_test('font_face_odd')
-describe HTML_FONT_FACE_ODD	HTML font face is not a commonly used face
-
 body HTML_FONT_FACE_CAPS	eval:html_test('font_face_caps')
 describe HTML_FONT_FACE_CAPS	HTML font face has excess capital characters
 

Modified: incubator/spamassassin/trunk/rules/70_testing.cf
==============================================================================
--- incubator/spamassassin/trunk/rules/70_testing.cf	(original)
+++ incubator/spamassassin/trunk/rules/70_testing.cf	Sun Apr 25 22:31:53 2004
@@ -88,7 +88,6 @@
 body T_HTML_FONT_SMALL_SIZE_3	eval:html_eval('min_size', '< -1')
 
 # these look pretty good
-body T_HTML_FONT_SIZE_BIG	eval:html_range('max_size', '4', '5')
 body T_HTML_FONT_SIZE_LARGE	eval:html_range('max_size', '5', '6')
 body T_HTML_FONT_SIZE_HUGE	eval:html_range('max_size', '6', 'inf')
 

Mime
View raw message