Skip to content

Commit

Permalink
fix issue from #177
Browse files Browse the repository at this point in the history
  • Loading branch information
spipu committed May 17, 2017
1 parent b251546 commit aa6aec7
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 9 deletions.
17 changes: 9 additions & 8 deletions CHANGELOG.md
Expand Up @@ -4,16 +4,17 @@ All notable changes to this project will be documented in this file.

## [Unreleased]

* improve string handling for UTF8
* PHP 5.4 compatibility
* Using Namespaces
* all the classes have moved
* all the classes have been renamed
* new tag structure : one class per tag
* better exception management
* change PHP 5.4 compatibility
* change Using Namespaces
* change all the classes have moved
* change all the classes have been renamed
* change new tag structure : one class per tag
* add improve string handling for UTF8
* add better exception management
* add unit testing
* fix a infinite loop case when reading a svg path
* add support 'start' attribute for ordered list
* fix a infinite loop case when reading a svg path
* fix issue from https://github.com/spipu/html2pdf/pull/177

## [4.6.0] - 2016-03-30

Expand Down
2 changes: 1 addition & 1 deletion composer.json
Expand Up @@ -13,7 +13,7 @@
}
],
"require": {
"php": ">=5.3.2",
"php": ">=5.4",
"tecnickcom/tcpdf": "~6.2.0"
},
"require-dev": {
Expand Down
1 change: 1 addition & 0 deletions src/Parsing/Css.php
Expand Up @@ -681,6 +681,7 @@ public function analyse($tagName, &$param, $legacy = null)
case 'font-family':
$val = explode(',', $val);
$val = trim($val[0]);
$val = trim($val, '\'"');
if ($val && $val != 'inherit') {
$this->value['font-family'] = $val;
}
Expand Down

0 comments on commit aa6aec7

Please sign in to comment.