lib/feedjira/preprocessor.rb in feedjira-2.2.0 vs lib/feedjira/preprocessor.rb in feedjira-3.0.0.beta1
- old
+ new
@@ -22,10 +22,10 @@
def content_nodes
doc.search 'entry > content[type="xhtml"], entry > summary[type="xhtml"], entry > title[type="xhtml"]' # rubocop:disable Metrics/LineLength
end
def raw_html(node)
- node.search('./div').inner_html
+ node.search("./div").inner_html
end
def doc
@doc ||= Nokogiri::XML(@xml).remove_namespaces!
end