From: Sean Colombo Date: Sun, 3 Oct 2010 04:31:29 +0000 (+0000) Subject: Tweak variable name to be camel case (as per feedback on r70849). X-Git-Tag: 1.31.0-rc.0~34654 X-Git-Url: http://git.cyclocoop.org//%27http:/jquery.khurshid.com/ifixpng.php/%27?a=commitdiff_plain;h=f405bb15e4e6af21a7a26185891fe63c1130e5b6;p=lhc%2Fweb%2Fwiklou.git Tweak variable name to be camel case (as per feedback on r70849). --- diff --git a/includes/Sanitizer.php b/includes/Sanitizer.php index 63d9978b26..210aeb142e 100644 --- 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_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