Skip to content

Commit

Permalink
MAGETWO-35392: [GitHub] Google Analytics Script Minify problem #1114
Browse files Browse the repository at this point in the history
  • Loading branch information
AndriyNasinnyk committed Mar 23, 2015
1 parent d0fd953 commit 91e2522
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ public function minify($file)
. '(?:<(?>textarea|pre|script)\b|\z))#',
' ',
preg_replace(
'#(?<!:|\\\\)//(?!\s*\<\!\[)(?!\s*]]\>)[^\n\r]*#',
'#(?<!:|\\\\|\'|")//(?!\s*\<\!\[)(?!\s*]]\>)[^\n\r]*#',
'',
preg_replace(
'#(?<!:)//[^\n\r]*(\s\?\>)#',
Expand Down

0 comments on commit 91e2522

Please sign in to comment.