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: 7b0c26667a2941fae4ad03348359e5bc395d6f80bb411ea8a79a7f206e22804d
4
- data.tar.gz: f204d04b9480c0ae14853013ee7f7aa561dce207109bfa07275331d1c6e88434
3
+ metadata.gz: 58a86c84cdb9f81b643fda4dfd1f724657e73d8ef1ba2775e90e3f38a5e7cbb6
4
+ data.tar.gz: 2e15c7ed98ec6a73c6c8c1daceef050e86dca1496ff63ff84b91c8ebae0992a6
5
5
  SHA512:
6
- metadata.gz: 8a3ab8546bdffd65325f5f564659dcb2a8ed9d93a8060c5b5fffdc14db08e719de1902f33e1495fd83777996e198d1ea53fee54e267423d5c5ac9ddacbb81755
7
- data.tar.gz: 3252d5e22b3f553a9d73b55bc61e1609b6172a1710893871d96abd8a94891a5e1a7e562fb2f623946bf3897f73444bbed692815c908a764dbc0f108ce989dc84
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\(['"](.*)['"]\)/, '\1')
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\(['"](.*)['"]\)/, '\1')
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\(['"](.*)['"]\)/, '\1')
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!
@@ -1,4 +1,4 @@
1
1
  class Premailer
2
2
  # Premailer version.
3
- VERSION = '1.14.1'.freeze
3
+ VERSION = '1.14.2'.freeze
4
4
  end
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.1
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-20 00:00:00.000000000 Z
11
+ date: 2020-09-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: css_parser