From: joerg Date: Thu, 11 Oct 2012 07:06:50 +0000 (+0000) Subject: fix X-Git-Url: https://git.deb.at/w?a=commitdiff_plain;h=e5f8c2721c5c789029417bc6c5e6d7321718b36d;p=deb%2Fhackedgotchi.git fix git-svn-id: svn+ssh://svn.debian.org/svn/planet-debian/trunk@1619 c2f067bf-98e0-425f-9c98-e76020cfa380 --- 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)