We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 08f3154 commit 0879452Copy full SHA for 0879452
app/code/community/Meanbee/Footerjs/Model/Observer.php
@@ -2,7 +2,7 @@
2
class Meanbee_Footerjs_Model_Observer {
3
4
// 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';
+ const REGEX_JS = '#(\s*<!--\[if[^\n]*>\s*(<script.*</script>)+\s*<!\[endif\]-->)|(\s*<script.*</script>)#isU';
6
const REGEX_DOCUMENT_END = '#</body>\s*</html>#isU';
7
8
/**
0 commit comments