Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixes #6 - Return document.innerHTML vs. document.body.innerHTML

  • Loading branch information...
commit 6132aee4eb6693deaae284a8eddf9e7794aebb7f 1 parent 18df6c0
@niftylettuce authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/juice.js
View
2  lib/juice.js
@@ -120,5 +120,5 @@ function juice (html, css, options) {
el.setAttribute('style', style);
});
- return document.body.innerHTML;
+ return document.innerHTML;
}
Please sign in to comment.
Something went wrong with that request. Please try again.