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.