From 11a6f4370bca4175c83e495cfaae9925a6788c98 Mon Sep 17 00:00:00 2001 From: "ctrlaltca@gmail.com" <> Date: Sun, 2 Oct 2011 21:22:52 +0000 Subject: added workaround for #342 --- framework/Web/UI/WebControls/TStyle.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'framework') diff --git a/framework/Web/UI/WebControls/TStyle.php b/framework/Web/UI/WebControls/TStyle.php index 54af9d79..b4c777fb 100644 --- a/framework/Web/UI/WebControls/TStyle.php +++ b/framework/Web/UI/WebControls/TStyle.php @@ -386,7 +386,7 @@ class TStyle extends TComponent { foreach(explode(';',$this->_customStyle) as $style) { - $arr=explode(':',$style); + $arr=explode(':',$style,2); if(isset($arr[1]) && trim($arr[0])!=='') $writer->addStyleAttribute(trim($arr[0]),trim($arr[1])); } -- cgit v1.2.3