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:
43def3e
)
Tweak variable name to be camel case (as per feedback on r70849).
author
Sean Colombo
<sean_colombo@users.mediawiki.org>
Sun, 3 Oct 2010 04:31:29 +0000
(
04:31
+0000)
committer
Sean Colombo
<sean_colombo@users.mediawiki.org>
Sun, 3 Oct 2010 04:31:29 +0000
(
04:31
+0000)
includes/Sanitizer.php
patch
|
blob
|
history
diff --git
a/includes/Sanitizer.php
b/includes/Sanitizer.php
index
63d9978
..
210aeb1
100644
(file)
--- a/
includes/Sanitizer.php
+++ b/
includes/Sanitizer.php
@@
-40,11
+40,11
@@
define( 'MW_CHAR_REFS_REGEX',
* Allows some... latitude.
* Used in Sanitizer::fixTagAttributes and Sanitizer::decodeTagAttributes
*/
-$attrib
_f
irst = '[:A-Z_a-z]';
+$attrib
F
irst = '[:A-Z_a-z]';
$attrib = '[:A-Z_a-z-.0-9]';
$space = '[\x09\x0a\x0d\x20]';
define( 'MW_ATTRIBS_REGEX',
- "/(?:^|$space)({$attrib
_f
irst}{$attrib}*)
+ "/(?:^|$space)({$attrib
F
irst}{$attrib}*)
($space*=$space*
(?:
# The attribute value: quoted or alone