Skip to content
This repository was archived by the owner on Feb 28, 2025. It is now read-only.

Commit 15108cc

Browse files
spipuicebird93
authored andcommitted
fix issue from spipu#177
1 parent 7edb1ae commit 15108cc

File tree

3 files changed

+11
-9
lines changed

3 files changed

+11
-9
lines changed

CHANGELOG.md

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,17 @@ All notable changes to this project will be documented in this file.
44

55
## [Unreleased]
66

7-
* improve string handling for UTF8
8-
* PHP 5.4 compatibility
9-
* Using Namespaces
10-
* all the classes have moved
11-
* all the classes have been renamed
12-
* new tag structure : one class per tag
13-
* better exception management
7+
* change PHP 5.4 compatibility
8+
* change Using Namespaces
9+
* change all the classes have moved
10+
* change all the classes have been renamed
11+
* change new tag structure : one class per tag
12+
* add improve string handling for UTF8
13+
* add better exception management
1414
* add unit testing
15-
* fix a infinite loop case when reading a svg path
1615
* add support 'start' attribute for ordered list
16+
* fix a infinite loop case when reading a svg path
17+
* fix issue from https://github.com/spipu/html2pdf/pull/177
1718

1819
## [4.6.0] - 2016-03-30
1920

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
}
1414
],
1515
"require": {
16-
"php": ">=5.3.2",
16+
"php": ">=5.4",
1717
"tecnickcom/tcpdf": "~6.2.0"
1818
},
1919
"require-dev": {

src/Parsing/Css.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -681,6 +681,7 @@ public function analyse($tagName, &$param, $legacy = null)
681681
case 'font-family':
682682
$val = explode(',', $val);
683683
$val = trim($val[0]);
684+
$val = trim($val, '\'"');
684685
if ($val && $val != 'inherit') {
685686
$this->value['font-family'] = $val;
686687
}

0 commit comments

Comments
 (0)