Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

wsh-compatible first char, updated test

  • Loading branch information...
commit 83b2be2d4e98834de96bf3ee268c79e61ad9afa3 1 parent 2a76e27
@stoyan stoyan authored
View
2  ports/js/cssmin.js
@@ -42,7 +42,7 @@ YAHOO.compressor.cssmin = function (css, linebreakpos) {
// preserve strings so their content doesn't get accidentally minified
css = css.replace(/("([^\\"]|\\.|\\)*")|('([^\\']|\\.|\\)*')/g, function (match) {
- var i, max, quote = match[0];
+ var i, max, quote = match.substring(0, 1);
match = match.slice(1, -1);
View
1  tests/bug2527974.css
@@ -7,3 +7,4 @@
body {
yo: cats;
}
+ul[id$=foo] label:hover {yo: yo;}
View
2  tests/bug2527974.css.min
@@ -1 +1 @@
-/*! $LastChangedRevision: 81 $ $LastChangedDate: 2009-05-27 17:41:02 +0100 (Wed, 27 May 2009) $ */body{yo:cats}
+/*! $LastChangedRevision: 81 $ $LastChangedDate: 2009-05-27 17:41:02 +0100 (Wed, 27 May 2009) $ */body{yo:cats}ul[id$=foo] label:hover{yo:yo}
Please sign in to comment.
Something went wrong with that request. Please try again.