lib/feedjira/preprocessor.rb in feedjira-1.3.0 vs lib/feedjira/preprocessor.rb in feedjira-1.3.1
- old
+ new
@@ -20,10 +20,10 @@
def content_nodes
doc.search 'entry > content[type="xhtml"]'
end
def raw_html(node)
- CGI.unescape_html node.search('div').inner_html
+ CGI.unescape_html node.search('./div').inner_html
end
def doc
@doc ||= Nokogiri::XML(@xml).remove_namespaces!
end