lib/ahoy_email/processor.rb in ahoy_email-0.1.3 vs lib/ahoy_email/processor.rb in ahoy_email-0.1.4

- old
+ new

@@ -120,9 +120,12 @@ attribute = "data-skip-#{suffix}" if link[attribute] # remove it link.remove_attribute(attribute) true + elsif link["href"].to_s =~ /unsubscribe/i + # try to avoid unsubscribe links + true else false end end \ No newline at end of file