diff --git a/index.js b/index.js
index a7076d7..e615ff5 100644
--- a/index.js
+++ b/index.js
@@ -23,6 +23,9 @@ var func = require('rework-plugin-function');
 module.exports = function(fn) {
   return func({
     url: function(path){
+      if (path.indexOf('data:image') === 0) {
+        return 'url("' + path + '")';
+      }
       path = path.split('"').join('');
       path = path.split('\'').join('');
       return 'url("' + fn.call(this, path.trim()) + '")';