Skip to content

Commit

Permalink
Fix #695
Browse files Browse the repository at this point in the history
  • Loading branch information
0m3r committed May 13, 2022
1 parent 1c000f9 commit b40f95c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Minify/CSS/Compressor.php
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ protected function _fontFamilyCB($m)
{
// Issue 210: must not eliminate WS between words in unquoted families
$flags = PREG_SPLIT_DELIM_CAPTURE | PREG_SPLIT_NO_EMPTY;
$pieces = preg_split('/(\'[^\']+\'|"[^"]+")/', $m[1], null, $flags);
$pieces = preg_split('/(\'[^\']+\'|"[^"]+")/', $m[1], -1, $flags);
$out = 'font-family:';

while (null !== ($piece = array_shift($pieces))) {
Expand Down

0 comments on commit b40f95c

Please sign in to comment.