method

inline_other_xml?

v1_8_7_330 - Show latest stable - Class: RSS::Atom::Feed::Entry::Content
inline_other_xml?()
public

No documentation available.

# File lib/rss/atom.rb, line 536
          def inline_other_xml?
            return false unless inline_other?

            media_type, subtype = mime_split
            normalized_mime_type = "#{media_type}/#{subtype}".downcase
            if /(?:\+xml|^xml)$/ =~ subtype or
                %w(text/xml-external-parsed-entity
                   application/xml-external-parsed-entity
                   application/xml-dtd).find {|x| x == normalized_mime_type}
              return true
            end
            false
          end