git-svn-id: svn+ssh://svn.debian.org/svn/planet-debian/trunk@1619
c2f067bf-98e0-425f-9c98-
e76020cfa380
# Paypal tracking images
r"""<img [^>]*?src=['"]https?://www\.paypalobjects\.com/[^/]*/i/scr/pixel.gif[^"']*['"][^>]*>""",
# Other tracking images
- r'<img [^>]*?width=["']1["'][^>]*?height=["']1["'][^>]*>',
- r'<img [^>]*?height=["']1["'][^>]*?width=["']1["'][^>]*>',
+ r"""<img [^>]*?width=["']1["'][^>]*?height=["']1["'][^>]*>""",
+ r"""<img [^>]*?height=["']1["'][^>]*?width=["']1["'][^>]*>""",
]
for regex in regexes: data = re.sub(regex, '', data)