Skip to content

Commit

Permalink
fix font-family: inherit check
Browse files Browse the repository at this point in the history
  • Loading branch information
juchi committed Apr 5, 2016
1 parent dd88130 commit fe44953
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 fe44953

Please sign in to comment.