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 3f9eaff commit d6a7d54Copy full SHA for d6a7d54
lib/internal/Magento/Framework/View/Template/Html/Minifier.php
@@ -116,7 +116,7 @@ public function minify($file)
116
'#(?<!]]>)\s+</#',
117
'</',
118
preg_replace(
119
- '#((?:<\?php\s+(?!echo|if|elseif|print)[^\?]*)\?>)\s+#',
+ '#((?:<\?php\s+(?!echo|if|else|elseif|print)[^\?]*)\?>)\s+#',
120
'$1',
121
122
'#(?<!' . implode('|', $this->inlineHtmlTags) . ')\> \<#',
0 commit comments