issue #2092 : Improve/Revise JS and CSS minify method
diff --git a/system/core/Output.php b/system/core/Output.php
index f62885a..4d89975 100644
--- a/system/core/Output.php
+++ b/system/core/Output.php
@@ -862,7 +862,7 @@
// or not preceded/followed by an alphanumeric
// or not preceded/followed \ $ and _
if ((preg_match('/^[\x20-\x7f]*$/D', $next) or preg_match('/^[\x20-\x7f]*$/D', $prev))
- && ( ! ctype_alnum($next) || ! ctype_alnum($prev))
+ && ( ! ctype_alnum($next) or ! ctype_alnum($prev))
&& ( ! in_array($next, array('\\', '_', '$')) && ! in_array($prev, array('\\', '_', '$'))))
{
unset($array_output[$key]);