Permalink
Browse files

0.0.5 regular expression fix (whitespace chars)

  • Loading branch information...
1 parent e73ec61 commit 01d0d482a14c5be42190faf1d9b3e2d2841e24a1 @Panya committed Aug 13, 2011
Showing with 3 additions and 3 deletions.
  1. +1 −1 VERSION
  2. +1 −1 lib/durilka.js
  3. +1 −1 package.json
View
@@ -1 +1 @@
-Durilka v0.0.4
+Durilka v0.0.5
View
@@ -41,7 +41,7 @@ exports.main = function() {
}
function encodeImages(src, callback) {
- var reUrl = /url\(["']?([^()]+?)["']?\)/gi,
+ var reUrl = /url\(\s*["']?([^)]+?)["']?\s*\)/gi,
len = src.match(reUrl).length, url;
while (url = reUrl.exec(src)) {
View
@@ -1,7 +1,7 @@
{
"name" : "durilka",
"description" : "Simple tool for making data URIs from images in CSS files",
- "version" : "0.0.4",
+ "version" : "0.0.5",
"author" : "Mikhail Korepanov <panyakor@gmail.com>",
"homepage": "http://github.com/panya/durilka",
"repository" : {

0 comments on commit 01d0d48

Please sign in to comment.