From 9ed5f17e538f5aa69925ec06ee7d80766cd0e3b7 Mon Sep 17 00:00:00 2001 From: ProgramFOX Date: Thu, 16 Jul 2015 08:46:26 +0200 Subject: [PATCH] Nested quote blocks: don't report if no link --- findspam.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/findspam.py b/findspam.py index e3bf8cb72a..847f4779f3 100644 --- a/findspam.py +++ b/findspam.py @@ -176,8 +176,8 @@ class FindSpam: 'sites': [], 'reason': "Korean character in {}", 'title': True, 'body': False, 'username': False, 'stripcodeblocks': False, 'body_summary': False}, {'regex': u"(?i)(>>>>|===>|==>>>)(?s).*http", 'all': True, 'sites': [], 'reason': "Bad keyword in {}", 'title': True, 'body': True, 'username': True, 'stripcodeblocks': True, 'body_summary': False}, - {'regex': u"
[^\/]*
[^\/]*
", 'all': True, - 'sites': [], 'reason': "Nested quote blocks in {}", 'title': False, 'body': True, 'username': False, 'stripcodeblocks': True, 'body_summary': False}, + {'regex': u"
\\s*(
\\s*)+\\s*