diff options
Diffstat (limited to 'lib/feed2imap/textconverters.rb')
-rw-r--r-- | lib/feed2imap/textconverters.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/feed2imap/textconverters.rb b/lib/feed2imap/textconverters.rb index c6ae326..9145e5a 100644 --- a/lib/feed2imap/textconverters.rb +++ b/lib/feed2imap/textconverters.rb @@ -25,7 +25,7 @@ require 'feed2imap/html2text-parser' class String # is this text HTML ? search for tags def html? - return (self =~ /<p>/) || (self =~ /<br>/) || (self =~ /<br\s*(\/)?\s*>/) + return (self =~ /<p>/) || (self =~ /<br>/) || (self =~ /<br\s*(\/)?\s*>/) || (self =~ /<\/a>/) || (self =~ /<img.*>/) end # returns true if the text contains escaped HTML (with HTML entities) |