Class: SimpleRSS

Inherits:
Object
  • Object
show all
Defined in:
lib/imap-feeder/feedreader.rb

Overview

Overwrite SimpleRSS::unescape because of an open bug(#10852)

Instance Method Summary collapse

Instance Method Details

#unescape(content) ⇒ Object



11
12
13
# File 'lib/imap-feeder/feedreader.rb', line 11

def unescape(content)
  content.gsub(/(<!\[CDATA\[|\]\]>)/,'').strip
end