mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
ENHANCEMENT Adding list-style in addition to list-style-image for URL rewrites
This commit is contained in:
parent
f39cd285d7
commit
bd6ca59558
@ -63,6 +63,7 @@ class HTTP {
|
|||||||
$regExps[] = '/(background-image:[^;]*url *\()([^)]+)(\))/ie';
|
$regExps[] = '/(background-image:[^;]*url *\()([^)]+)(\))/ie';
|
||||||
$regExps[] = '/(background:[^;]*url *\()([^)]+)(\))/ie';
|
$regExps[] = '/(background:[^;]*url *\()([^)]+)(\))/ie';
|
||||||
$regExps[] = '/(list-style-image:[^;]*url *\()([^)]+)(\))/ie';
|
$regExps[] = '/(list-style-image:[^;]*url *\()([^)]+)(\))/ie';
|
||||||
|
$regExps[] = '/(list-style:[^;]*url *\()([^)]+)(\))/ie';
|
||||||
|
|
||||||
// Make
|
// Make
|
||||||
$code = 'stripslashes("$1") . (' . str_replace('$URL', 'stripslashes("$2")', $code) . ') . stripslashes("$3")';
|
$code = 'stripslashes("$1") . (' . str_replace('$URL', 'stripslashes("$2")', $code) . ') . stripslashes("$3")';
|
||||||
|
Loading…
Reference in New Issue
Block a user