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
|
# Returns the content of the document
|
||||||
def to_s
|
def to_s
|
||||||
output || content
|
content || ''
|
||||||
end
|
end
|
||||||
|
|
||||||
# Compare this document against another document.
|
# Compare this document against another document.
|
||||||
|
|
Loading…
Reference in New Issue