From d57c4f1c01b91c066bcd73512c397e8249f73cf2 Mon Sep 17 00:00:00 2001 From: Parker Moore Date: Tue, 12 Aug 2014 11:25:22 -0400 Subject: [PATCH] Document#to_s should produce just the content of the document. Fixes #2655 --- lib/jekyll/document.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/jekyll/document.rb b/lib/jekyll/document.rb index 3840375c..5ba740a1 100644 --- a/lib/jekyll/document.rb +++ b/lib/jekyll/document.rb @@ -246,7 +246,7 @@ module Jekyll # # Returns the content of the document def to_s - output || content + content || '' end # Compare this document against another document.