mirror of
https://github.com/remy/inliner.git
synced 2024-09-11 17:25:30 +03:00
Merge pull request #36 from jorendorff/master
Support relative <img src=> URLs.
This commit is contained in:
commit
574f2c3ed0
@ -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();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user