lib/feedjira/parser/rss_feed_burner.rb in feedjira-3.1.1 vs lib/feedjira/parser/rss_feed_burner.rb in feedjira-3.1.2

- old
+ new

@@ -1,5 +1,7 @@ +# frozen_string_literal: true + module Feedjira module Parser # Parser for dealing with RSS feeds. class RSSFeedBurner include SAXMachine @@ -12,10 +14,10 @@ elements :item, as: :entries, class: RSSFeedBurnerEntry attr_accessor :feed_url def self.able_to_parse?(xml) #:nodoc: - (/\<rss|\<rdf/ =~ xml) && (/feedburner/ =~ xml) + (/<rss|<rdf/ =~ xml) && (/feedburner/ =~ xml) end end end end