From: Fabian Keil Date: Sat, 18 Mar 2017 17:54:11 +0000 (+0100) Subject: Consistently use the U(ngreedy) flag in the 'img-reorder' filter X-Git-Tag: v_3_0_27~79 X-Git-Url: http://www.privoxy.org/gitweb/?p=privoxy.git;a=commitdiff_plain;h=ba9031e38d5d227f37afc96c73572e0d4b26efa6;ds=sidebyside Consistently use the U(ngreedy) flag in the 'img-reorder' filter --- diff --git a/default.filter b/default.filter index fd5c12ec..ea826f2f 100644 --- a/default.filter +++ b/default.filter @@ -221,8 +221,8 @@ FILTER: img-reorder Reorder attributes in tags to make the banners-by-* fi # and banners-by-link to preserve the original image URL in the title attribute. s|]*)\ssrc\s*=\s*(['"])([^>'" ]+)\2|]*)\ssrc\s*=\s*([^'">\\\s]+)|]+height)\s*=\s*|$1=|sig +s|]*)\ssrc\s*=\s*([^'">\\\s]+)|]+height)\s*=\s*|$1=|siUg s|'" ]*\2\|[^'">\\\s]+?))([^>]*)\s+width\s*=\s*((["']?)\d+?\5)(?=[\s>])|