Permalink
Browse files

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

  • Loading branch information...
1 parent 18df6c0 commit 6132aee4eb6693deaae284a8eddf9e7794aebb7f @niftylettuce committed Jun 13, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/juice.js
View
@@ -120,5 +120,5 @@ function juice (html, css, options) {
el.setAttribute('style', style);
});
- return document.body.innerHTML;
+ return document.innerHTML;
}

0 comments on commit 6132aee

Please sign in to comment.