diff options
author | lnu <lnu@f70e237a-67f3-0310-a06c-d2b8a7116972> | 2005-09-21 12:38:57 +0000 |
---|---|---|
committer | lnu <lnu@f70e237a-67f3-0310-a06c-d2b8a7116972> | 2005-09-21 12:38:57 +0000 |
commit | 37baef8f604bd509047d580b5dfb33d9c3f38031 (patch) | |
tree | 850e4449b96a9ad8865f61940bee397df1c333b9 /lib/feed2imap/textconverters.rb | |
parent | 07c53c0c1d03721c68b3cf292f0fa8402c82c006 (diff) | |
download | feed2imap-37baef8f604bd509047d580b5dfb33d9c3f38031.tar.gz feed2imap-37baef8f604bd509047d580b5dfb33d9c3f38031.tar.bz2 feed2imap-37baef8f604bd509047d580b5dfb33d9c3f38031.zip |
fix another problem with escaped html
git-svn-id: svn+ssh://svn.gna.org/svn/feed2imap/trunk/feed2imap@67 f70e237a-67f3-0310-a06c-d2b8a7116972
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) |