diff --git a/lib/emcee/document.rb b/lib/emcee/document.rb
index <HASH>..<HASH> 100644
--- a/lib/emcee/document.rb
+++ b/lib/emcee/document.rb
@@ -16,8 +16,8 @@ module Emcee
     end
 
     def to_s
-      output = @doc.at("body").children
-      output.to_s.lstrip
+      body = @doc.at("body").children
+      body.to_s.lstrip
     end
 
     def html_imports
Rename variable in `to_s` method of Document