lib/feed_tools/feed_item.rb in feedtools-0.2.20 vs lib/feed_tools/feed_item.rb in feedtools-0.2.21
- old
+ new
@@ -1956,14 +1956,15 @@
xml_builder.link("href" => FeedTools.escape_entities(self.link),
"rel" => "alternate",
"type" => "text/html",
"title" => FeedTools.escape_entities(title))
end
- if !description.blank?
- xml_builder.content(description,
+ if !self.content.blank?
+ xml_builder.content(self.content,
"type" => "html")
- elsif !FeedTools.configurations[:no_content_string].blank?
- xml_builder.content(FeedTools.configurations[:no_content_string],
+ end
+ if !self.summary.blank?
+ xml_builder.content(self.summary,
"type" => "html")
end
if self.updated != nil
xml_builder.updated(self.updated.iso8601)
elsif self.time != nil