pretty_mailer 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/pretty_mailer/html.rb +1 -1
- data/lib/pretty_mailer/version.rb +1 -1
- metadata +1 -1
data/lib/pretty_mailer/html.rb
CHANGED
@@ -15,7 +15,7 @@ module PrettyMailer
|
|
15
15
|
tag['specificities'] = "#{tag['specificities']}#{specificity};"
|
16
16
|
tag[specificity.to_s] = declarations.gsub /\s+/, ''
|
17
17
|
end
|
18
|
-
rescue
|
18
|
+
rescue Nokogiri::CSS::SyntaxError
|
19
19
|
Rails.logger.debug "Ignoring invalid selector: #{selector}"
|
20
20
|
end
|
21
21
|
end
|