From fe44953c94b65fa29ac9065d821d6140a71e01f1 Mon Sep 17 00:00:00 2001 From: Julien Chichignoud Date: Tue, 5 Apr 2016 14:10:38 +0200 Subject: [PATCH] fix font-family: inherit check --- _class/parsingCss.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_class/parsingCss.class.php b/_class/parsingCss.class.php index 08e0cfeb..a8ae5c8f 100644 --- a/_class/parsingCss.class.php +++ b/_class/parsingCss.class.php @@ -611,7 +611,7 @@ public function analyse($tagName, &$param, $legacy = null) case 'font-family': $val = explode(',', $val); $val = trim($val[0]); - if ($val && $val != 'inherit') $this->value['font-family'] = $val; + if ($val && strtolower($val) != 'inherit') $this->value['font-family'] = $val; break; case 'font-weight':