diff options
Diffstat (limited to 'lib/feed2imap/channel.rb')
-rw-r--r-- | lib/feed2imap/channel.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/feed2imap/channel.rb b/lib/feed2imap/channel.rb index 3fcc3e8..9ed3bdc 100644 --- a/lib/feed2imap/channel.rb +++ b/lib/feed2imap/channel.rb @@ -149,7 +149,7 @@ class Item if e.children.length > 1 s = '' e.children.each { |c| s += c.to_s } - @content = s.toUTF8(@channel.encoding).rmWhiteSpace! + @content = s.toUTF8(@channel.encoding).rmWhiteSpace!.text2html elsif e.children.length == 1 if e.cdatas[0] @content = e.cdatas[0].to_s.toUTF8(@channel.encoding).rmWhiteSpace! |