diff options
Diffstat (limited to 'lib/attachment_to_html/adapter.rb')
-rw-r--r-- | lib/attachment_to_html/adapter.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/attachment_to_html/adapter.rb b/lib/attachment_to_html/adapter.rb index d8b9f41f7..058fb2a01 100644 --- a/lib/attachment_to_html/adapter.rb +++ b/lib/attachment_to_html/adapter.rb @@ -41,7 +41,7 @@ module AttachmentToHTML end def contains_images? - !!body.match(/<img[^>]*>/mi) + body.match(/<img[^>]*>/mi) end def create_tempfile(text) |