start with Excerpt#output, otherwise call #to_s

This commit is contained in:
Parker Moore 2013-07-19 15:43:26 +02:00
parent 04e0b318c8
commit 0e0e25b9ba
1 changed files with 1 additions and 1 deletions

View File

@ -109,7 +109,7 @@ module Jekyll
if self.data.has_key? 'excerpt'
self.data['excerpt']
else
self.extracted_excerpt.to_s
self.extracted_excerpt.output || self.extracted_excerpt.to_s
end
end