From ec51c7fb33aeb27b34f5bc0f495b1fa48c215f77 Mon Sep 17 00:00:00 2001 From: moodler Date: Mon, 23 Aug 2004 02:21:59 +0000 Subject: [PATCH] Don't lower-case parsed attributes --- lib/weblib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/weblib.php b/lib/weblib.php index 44c3f415a3..4632822f54 100644 --- a/lib/weblib.php +++ b/lib/weblib.php @@ -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)){ -- 2.39.5