Skip to content

Commit

Permalink
Merge pull request #100 from juchi/font_family
Browse files Browse the repository at this point in the history
fix font-family: inherit check
  • Loading branch information
juchi committed Apr 5, 2016
2 parents dd88130 + fe44953 commit 3f3e845
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion _class/parsingCss.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -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':
Expand Down

0 comments on commit 3f3e845

Please sign in to comment.