Skip to content

Commit 0879452

Browse files
committed
We don't have to have a new line, and as we're using the 's' modifier that already includes new lines.
1 parent 08f3154 commit 0879452

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/community/Meanbee/Footerjs/Model/Observer.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
class Meanbee_Footerjs_Model_Observer {
33

44
// Regular expression that matches one or more script tags (including conditions but not comments)
5-
const REGEX_JS = '#(\n\s*<!--\[if[^\n]*>\s*(<script.*</script>)+\s*<!\[endif\]-->)|(\n\s*<script.*</script>)#isU';
5+
const REGEX_JS = '#(\s*<!--\[if[^\n]*>\s*(<script.*</script>)+\s*<!\[endif\]-->)|(\s*<script.*</script>)#isU';
66
const REGEX_DOCUMENT_END = '#</body>\s*</html>#isU';
77

88
/**

0 commit comments

Comments
 (0)