From e5f8c2721c5c789029417bc6c5e6d7321718b36d Mon Sep 17 00:00:00 2001 From: joerg Date: Thu, 11 Oct 2012 07:06:50 +0000 Subject: [PATCH] fix git-svn-id: svn+ssh://svn.debian.org/svn/planet-debian/trunk@1619 c2f067bf-98e0-425f-9c98-e76020cfa380 --- filters/remove-trackers-and-ads.plugin | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/filters/remove-trackers-and-ads.plugin b/filters/remove-trackers-and-ads.plugin index 84c2a04..50e2a4b 100644 --- a/filters/remove-trackers-and-ads.plugin +++ b/filters/remove-trackers-and-ads.plugin @@ -17,8 +17,8 @@ regexes = [ # Paypal tracking images r"""]*?src=['"]https?://www\.paypalobjects\.com/[^/]*/i/scr/pixel.gif[^"']*['"][^>]*>""", # Other tracking images - r']*?width=["']1["'][^>]*?height=["']1["'][^>]*>', - r']*?height=["']1["'][^>]*?width=["']1["'][^>]*>', + r"""]*?width=["']1["'][^>]*?height=["']1["'][^>]*>""", + r"""]*?height=["']1["'][^>]*?width=["']1["'][^>]*>""", ] for regex in regexes: data = re.sub(regex, '', data) -- 2.39.2