premailer 1.14.1 → 1.14.2
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 58a86c84cdb9f81b643fda4dfd1f724657e73d8ef1ba2775e90e3f38a5e7cbb6
|
4
|
+
data.tar.gz: 2e15c7ed98ec6a73c6c8c1daceef050e86dca1496ff63ff84b91c8ebae0992a6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: be8096560990ffc0fa62ae3593add156970263ea37a72d79ff439cc8cd097e0d293f4997ed82c1e78e02406923bda419693a751a9f4bb149388acec81b9cef2a
|
7
|
+
data.tar.gz: 3df71e24a57e2d65e1a852aa58b5fa90df4c98cd730c537b678564f4e437b75b8e2c1586a56d0ceb6e23b47b42bcc345373a5b711bf3ae5d453dece723b2bc22
|
@@ -78,7 +78,7 @@ class Premailer
|
|
78
78
|
new_val = merged[css_attr].dup
|
79
79
|
|
80
80
|
# Remove url() function wrapper
|
81
|
-
new_val.gsub!(/url\(['"](
|
81
|
+
new_val.gsub!(/url\((['"])(.*?)\1\)/, '\2')
|
82
82
|
|
83
83
|
# Remove !important, trailing semi-colon, and leading/trailing whitespace
|
84
84
|
new_val.gsub!(/;$|\s*!important/, '').strip!
|
@@ -82,7 +82,7 @@ class Premailer
|
|
82
82
|
new_val = merged[css_attr].dup
|
83
83
|
|
84
84
|
# Remove url() function wrapper
|
85
|
-
new_val.gsub!(/url\(['"](
|
85
|
+
new_val.gsub!(/url\((['"])(.*?)\1\)/, '\2')
|
86
86
|
|
87
87
|
# Remove !important, trailing semi-colon, and leading/trailing whitespace
|
88
88
|
new_val.gsub!(/;$|\s*!important/, '').strip!
|
@@ -78,7 +78,7 @@ class Premailer
|
|
78
78
|
new_val = merged[css_attr].dup
|
79
79
|
|
80
80
|
# Remove url() function wrapper
|
81
|
-
new_val.gsub!(/url\(['"](
|
81
|
+
new_val.gsub!(/url\((['"])(.*?)\1\)/, '\2')
|
82
82
|
|
83
83
|
# Remove !important, trailing semi-colon, and leading/trailing whitespace
|
84
84
|
new_val.gsub!(/;$|\s*!important/, '').strip!
|
data/lib/premailer/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: premailer
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.14.
|
4
|
+
version: 1.14.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Alex Dunae
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-09-
|
11
|
+
date: 2020-09-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: css_parser
|