Permalink
Browse files

BUGFIX: absoluteURLs() rewrites URLs in list-style-image elements

This applies the patch from and resolves #6798
  • Loading branch information...
1 parent 7483970 commit 4756b97daa7794bc89e0b8c8fa403f9c628c181e @oddnoc oddnoc committed Apr 26, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 control/HTTP.php
View
@@ -62,6 +62,7 @@ static function urlRewriter($content, $code) {
}
$regExps[] = '/(background-image:[^;]*url *\()([^)]+)(\))/ie';
$regExps[] = '/(background:[^;]*url *\()([^)]+)(\))/ie';
+ $regExps[] = '/(list-style-image:[^;]*url *\()([^)]+)(\))/ie';
// Make
$code = 'stripslashes("$1") . (' . str_replace('$URL', 'stripslashes("$2")', $code) . ') . stripslashes("$3")';

0 comments on commit 4756b97

Please sign in to comment.