https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7892

            Bug ID: 7892
           Summary: T_KAM_HTML_FONT_INVALID false positive for "<color>
                    !important"
           Product: Spamassassin
           Version: 3.4.2
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Rules (Eval Tests)
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: Undefined

The test eval:html_test('font_invalid_color') for the rule
T_KAM_HTML_FONT_INVALID triggers for the color value "black !important" in CSS
style attributes. (Or any other color value)

Since adding !important is valid for any CSS value you might consider simply
stripping of this postfix before parsing colors in
/lib/Mail/SpamAssassin/HTML.pm.


Note this is somewhat similar to:
https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7778

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to