From a1093c975c5f36a74bbb6b3ca08c6c2472c84287 Mon Sep 17 00:00:00 2001 From: BOBODDO <73145447+BOBODDO@users.noreply.github.com> Date: Sat, 6 Nov 2021 16:37:05 +0900 Subject: [PATCH] =?UTF-8?q?=EC=83=89=EC=83=81=EA=B0=92=EC=9D=84=20?= =?UTF-8?q?=ED=95=AD=EC=83=81=20=EC=98=AC=EB=B0=94=EB=A5=B4=EA=B2=8C=20?= =?UTF-8?q?=EC=B6=9C=EB=A0=A5=ED=95=98=EB=8F=84=EB=A1=9D=20=EC=88=98?= =?UTF-8?q?=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 스킨에서 정상적인 타이틀 색상값을 반환하지 않았을 경우 #을 제거하도록 수정합니다. --- widgets/content/content.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/widgets/content/content.class.php b/widgets/content/content.class.php index a5acf9524..2627898e7 100644 --- a/widgets/content/content.class.php +++ b/widgets/content/content.class.php @@ -909,7 +909,7 @@ class contentItem extends BaseObject $attrs = array(); if($this->get('title_bold') == 'Y') $attrs[] = 'font-weight:bold'; - if($this->get('title_color') && $this->get('title_color') != 'N') $attrs[] = 'color:#'.$this->get('title_color'); + if($this->get('title_color') && $this->get('title_color') != 'N') $attrs[] = 'color:#' . ltrim($this->get('title_color'), '#'); if(count($attrs)) $title = sprintf("%s", implode(';', $attrs), $title);