Document#to_s should produce just the content of the document.
Fixes #2655
This commit is contained in:
parent
f190a960a1
commit
d57c4f1c01
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue