awesomemailer 0.2.1 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/awesomemailer.gemspec +1 -1
- data/lib/awesome_mailer/renderer.rb +3 -0
- metadata +1 -1
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.2.
|
1
|
+
0.2.2
|
data/awesomemailer.gemspec
CHANGED
@@ -34,6 +34,9 @@ module AwesomeMailer
|
|
34
34
|
end
|
35
35
|
rescue Nokogiri::CSS::SyntaxError # Complex CSS? Just dump it somewhere
|
36
36
|
apply_styles_to_head!(selector, properties)
|
37
|
+
rescue RuntimeError => exception
|
38
|
+
raise $! unless exception.message =~ /xmlXPathCompOpEval/
|
39
|
+
apply_styles_to_head!(selector, properties)
|
37
40
|
end
|
38
41
|
|
39
42
|
def apply_styles_to_head!(selector, properties, indent = 0)
|