dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
03a614c
)
Resolves bug #26655 - adds support for space before and after the URL inside the...
author
Trevor Parscal
<tparscal@users.mediawiki.org>
Mon, 10 Jan 2011 21:31:12 +0000
(21:31 +0000)
committer
Trevor Parscal
<tparscal@users.mediawiki.org>
Mon, 10 Jan 2011 21:31:12 +0000
(21:31 +0000)
includes/libs/CSSMin.php
patch
|
blob
|
history
diff --git
a/includes/libs/CSSMin.php
b/includes/libs/CSSMin.php
index
b6dad93
..
5ed65c3
100644
(file)
--- a/
includes/libs/CSSMin.php
+++ b/
includes/libs/CSSMin.php
@@
-36,7
+36,7
@@
class CSSMin {
* which when base64 encoded will result in a 1/3 increase in size.
*/
const EMBED_SIZE_LIMIT = 24576;
- const URL_REGEX = 'url\(
[\'"]?(?P<file>[^\?\)\:\'"]*)\??[^\)\'"]*[\'"]?
\)';
+ const URL_REGEX = 'url\(
\s*[\'"]?(?P<file>[^\?\)\:\'"]*)\??[^\)\'"]*[\'"]?\s*
\)';
/* Protected Static Members */