Merge pull request #30 from Andyroid1978/html_parsing_error_fix

Update inliner.js
This commit is contained in:
Remy Sharp 2013-08-02 02:13:15 -07:00
commit 909b96323d

View File

@ -82,7 +82,7 @@ function Inliner(url, options, callback) {
// BIG ASS PROTECTIVE TRY/CATCH - mostly because of this: https://github.com/tmpvar/jsdom/issues/319
try {
jsdom.env(html, '', [
jsdom.env(html, [
'http://code.jquery.com/jquery.min.js'
], function(errors, window) {
// remove jQuery that was included with jsdom