Permalink
Browse files

Merge pull request #36 from jorendorff/master

Support relative <img src=> URLs.
  • Loading branch information...
2 parents 909b963 + 4e5d0b6 commit 574f2c3ed043179ad3d1a5c66b1f3da760612e03 @remy committed Jan 3, 2014
Showing with 3 additions and 1 deletion.
  1. +3 −1 inliner.js
View
@@ -84,7 +84,9 @@ function Inliner(url, options, callback) {
jsdom.env(html, [
'http://code.jquery.com/jquery.min.js'
- ], function(errors, window) {
+ ], {
+ url: url
+ }, function(errors, window) {
// remove jQuery that was included with jsdom
window.$('script:last').remove();

0 comments on commit 574f2c3

Please sign in to comment.