@@ -23,7 +23,7 @@ |
||
23 | 23 | <! # search for the start of a comment |
24 | 24 | [^>]* # search for everything without a ">" |
25 | 25 | > # match the end of the comment |
26 | - /xs', function ($match) { |
|
26 | + /xs', function($match) { |
|
27 | 27 | if (Str::contains(strtolower($match[0]), 'doctype')) { |
28 | 28 | return $match[0]; |
29 | 29 | } |
@@ -48,7 +48,7 @@ |
||
48 | 48 | )* # special part of "unrolling the loop" |
49 | 49 | ) # use a the "unrolling the loop" technique to be able to skip escaped quotes like ="\"" |
50 | 50 | \1? # match the same quote symbol as matched before |
51 | - /x', function ($match) { |
|
51 | + /x', function($match) { |
|
52 | 52 | return $this->minifyAttribute($match); |
53 | 53 | }, $context->getContents())); |
54 | 54 | } |