| @@ -258,9 +258,9 @@ | ||
| 258 | 258 | protected function _fontFamilyCB($m) |
| 259 | 259 | { |
| 260 | 260 | // Issue 210: must not eliminate WS between words in unquoted families |
| 261 | 261 | $flags = PREG_SPLIT_DELIM_CAPTURE | PREG_SPLIT_NO_EMPTY; |
| 262 | - $pieces = preg_split('/(\'[^\']+\'|"[^"]+")/', $m[1], null, $flags); | |
| 262 | + $pieces = preg_split('/(\'[^\']+\'|"[^"]+")/', $m[1], -1, $flags); | |
| 263 | 263 | $out = 'font-family:'; |
| 264 | 264 | |
| 265 | 265 | while (null !== ($piece = array_shift($pieces))) { |
| 266 | 266 | if ($piece[0] !== '"' && $piece[0] !== "'") { |