removing another use of the vertical tab & form feed escapes, which are not available...
authorNeil Kandalgaonkar <neilk@users.mediawiki.org>
Tue, 15 Mar 2011 04:41:15 +0000 (04:41 +0000)
committerNeil Kandalgaonkar <neilk@users.mediawiki.org>
Tue, 15 Mar 2011 04:41:15 +0000 (04:41 +0000)
includes/libs/JavaScriptMinifier.php

index e483b4a..a991d91 100644 (file)
@@ -512,7 +512,7 @@ class JavaScriptMinifier {
                        } else {
                                // Identifier or reserved word. Search for the end by excluding whitespace and
                                // punctuation.
-                               $end += strcspn( $s, " \t\n.;,=<>+-{}()[]?:*/%'\"!&|^~\f\v\r", $end );
+                               $end += strcspn( $s, " \t\n.;,=<>+-{}()[]?:*/%'\"!&|^~\xb\xc\r", $end );
                        }
 
                        // Now get the token type from our type array