Permalink
Browse files

ENHANCEMENT Adding list-style in addition to list-style-image for URL…

… rewrites
  • Loading branch information...
1 parent f39cd28 commit bd6ca5955839ded985b29779de59f5a5c05f374f @halkyon halkyon committed Apr 26, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 control/HTTP.php
View
1 control/HTTP.php
@@ -63,6 +63,7 @@ static function urlRewriter($content, $code) {
$regExps[] = '/(background-image:[^;]*url *\()([^)]+)(\))/ie';
$regExps[] = '/(background:[^;]*url *\()([^)]+)(\))/ie';
$regExps[] = '/(list-style-image:[^;]*url *\()([^)]+)(\))/ie';
+ $regExps[] = '/(list-style:[^;]*url *\()([^)]+)(\))/ie';
// Make
$code = 'stripslashes("$1") . (' . str_replace('$URL', 'stripslashes("$2")', $code) . ') . stripslashes("$3")';

0 comments on commit bd6ca59

Please sign in to comment.