]> git.mjollnir.org Git - moodle.git/commitdiff
Don't lower-case parsed attributes
authormoodler <moodler>
Mon, 23 Aug 2004 02:21:59 +0000 (02:21 +0000)
committermoodler <moodler>
Mon, 23 Aug 2004 02:21:59 +0000 (02:21 +0000)
lib/weblib.php

index 44c3f415a3c82992e0e62c4159b8b80379aa62c0..4632822f54af4006c8889249f68f6f12e4212ec8 100644 (file)
@@ -796,7 +796,7 @@ function cleanAttributes2($htmlTag){
     $attStr = '';
     foreach ($attrArray as $arreach)
     {
-        $attStr .=  ' '.strtolower($arreach['name']).'="'.strtolower($arreach['value']).'" ';
+        $attStr .=  ' '.strtolower($arreach['name']).'="'.$arreach['value'].'" ';
     }
     $xhtml_slash = '';
     if (preg_match('%/\s*$%', $attrlist)){