We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 50b8b5d commit 3b09a2eCopy full SHA for 3b09a2e
src/CSS.php
@@ -685,7 +685,7 @@ protected function stripWhitespace($content)
685
protected function extractMath()
686
{
687
$functions = array('calc', 'clamp', 'min', 'max');
688
- $pattern = '/('. implode($functions, '|') .')(\(.+?)(?=$|;|})/m';
+ $pattern = '/('. implode('|', $functions) .')(\(.+?)(?=$|;|})/m';
689
690
// PHP only supports $this inside anonymous functions since 5.4
691
$minifier = $this;
0 commit comments