Skip to content

Commit 4696a9b

Browse files
MAGETWO-44304: Product grid is broken on Storefront Category page if HTML files minification is enabled
1 parent 0efa2bc commit 4696a9b

File tree

1 file changed

+1
-1
lines changed
  • lib/internal/Magento/Framework/View/Template/Html

1 file changed

+1
-1
lines changed

lib/internal/Magento/Framework/View/Template/Html/Minifier.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ public function minify($file)
117117
'</',
118118
preg_replace(
119119
'#((?:<\?php\s+(?!echo|print|if|elseif|else)[^\?]*)\?>)\s+#',
120-
'$1',
120+
'$1 ',
121121
preg_replace(
122122
'#(?<!' . implode('|', $this->inlineHtmlTags) . ')\> \<#',
123123
'><',

0 commit comments

Comments
 (0)