You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spamassassin.apache.org by gb...@apache.org on 2019/11/18 19:12:17 UTC
svn commit: r1869994 - /spamassassin/trunk/rulesrc/sandbox/gbechis/20_html.cf
Author: gbechis
Date: Mon Nov 18 19:12:17 2019
New Revision: 1869994
URL: http://svn.apache.org/viewvc?rev=1869994&view=rev
Log:
check for yellow highlighted words
Modified:
spamassassin/trunk/rulesrc/sandbox/gbechis/20_html.cf
Modified: spamassassin/trunk/rulesrc/sandbox/gbechis/20_html.cf
URL: http://svn.apache.org/viewvc/spamassassin/trunk/rulesrc/sandbox/gbechis/20_html.cf?rev=1869994&r1=1869993&r2=1869994&view=diff
==============================================================================
--- spamassassin/trunk/rulesrc/sandbox/gbechis/20_html.cf (original)
+++ spamassassin/trunk/rulesrc/sandbox/gbechis/20_html.cf Mon Nov 18 19:12:17 2019
@@ -3,3 +3,6 @@
# rawbody GB_HIDDEN_FONT /font-size\s*:\s*0\s*(?:em|pt|px|%)\s*;/
# describe GB_HIDDEN_FONT hidden font
+
+rawbody GB_YELLOW_BG /<(?:div|span) style=.*mso-highlight:yellow">.{1,20}<\/(?:div|span)\b/i
+describe GB_YELLOW_BG Yellow background on few words