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 dcca458 commit 544c7b6Copy full SHA for 544c7b6
lib/internal/Magento/Framework/View/Template/Html/Minifier.php
@@ -131,8 +131,8 @@ public function minify($file)
131
'#(?<!:|\\\\|\'|")//(?!\s*\<\!\[)(?!\s*]]\>)[^\n\r]*#',
132
'',
133
preg_replace(
134
- '#(?<!:|\'|")//[^\n\r]*(\s\?\>)#',
135
- '$1',
+ '#(?<!:|\'|")//[^\n\r]*(\?\>)#',
+ ' $1',
136
137
'#(?<!:)//[^\n\r]*(\<\?php)[^\n\r]*(\s\?\>)[^\n\r]*#',
138
0 commit comments