lib/feedjira/preprocessor.rb in feedjira-1.4.0 vs lib/feedjira/preprocessor.rb in feedjira-1.5.0
- old
+ new
@@ -16,10 +16,10 @@
node.content = raw_html(node) unless node.cdata?
end
end
def content_nodes
- doc.search 'entry > content[type="xhtml"]'
+ doc.search 'entry > content[type="xhtml"], entry > summary[type="xhtml"], entry > title[type="xhtml"]'
end
def raw_html(node)
CGI.unescape_html node.search('./div').inner_html
end