From f405bb15e4e6af21a7a26185891fe63c1130e5b6 Mon Sep 17 00:00:00 2001 From: Sean Colombo Date: Sun, 3 Oct 2010 04:31:29 +0000 Subject: [PATCH] Tweak variable name to be camel case (as per feedback on r70849). --- includes/Sanitizer.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.20.1