Skip to content

Commit e43fce2

Browse files
MAGETWO-35373: Load template button is not working
1 parent 3c23add commit e43fce2

File tree

1 file changed

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

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,8 +122,8 @@ public function minify($file)
122122
'#(?<!' . implode('|', $this->inlineHtmlTags) . ')\> \<#',
123123
'><',
124124
preg_replace(
125-
'#(?ix)(?>[^\S ]\s*|\s{2,})(?=(?:(?:[^<]++|<(?!/?(?:textarea|pre|script|style)\b))*+)'
126-
. '(?:<(?>textarea|pre|script|style)\b|\z))#',
125+
'#(?ix)(?>[^\S ]\s*|\s{2,})(?=(?:(?:[^<]++|<(?!/?(?:textarea|pre|script)\b))*+)'
126+
. '(?:<(?>textarea|pre|script)\b|\z))#',
127127
' ',
128128
preg_replace(
129129
'#(?<!:|\\\\)//(?!\s*\<\!\[)(?!\s*]]\>)[^\n\r]*#',

0 commit comments

Comments
 (0)