Tweak variable name to be camel case (as per feedback on r70849).
authorSean Colombo <sean_colombo@users.mediawiki.org>
Sun, 3 Oct 2010 04:31:29 +0000 (04:31 +0000)
committerSean Colombo <sean_colombo@users.mediawiki.org>
Sun, 3 Oct 2010 04:31:29 +0000 (04:31 +0000)
includes/Sanitizer.php

index 63d9978..210aeb1 100644 (file)
@@ -40,11 +40,11 @@ define( 'MW_CHAR_REFS_REGEX',
  * Allows some... latitude.
  * Used in Sanitizer::fixTagAttributes and Sanitizer::decodeTagAttributes
  */
-$attrib_first = '[:A-Z_a-z]';
+$attribFirst = '[:A-Z_a-z]';
 $attrib = '[:A-Z_a-z-.0-9]';
 $space = '[\x09\x0a\x0d\x20]';
 define( 'MW_ATTRIBS_REGEX',
-       "/(?:^|$space)({$attrib_first}{$attrib}*)
+       "/(?:^|$space)({$attribFirst}{$attrib}*)
          ($space*=$space*
                (?:
                 # The attribute value: quoted or alone