mirror of
https://github.com/remy/inliner.git
synced 2024-09-11 17:25:30 +03:00
Merge pull request #30 from Andyroid1978/html_parsing_error_fix
Update inliner.js
This commit is contained in:
commit
909b96323d
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user