sanitize 4.3.0 → 4.4.0
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of sanitize might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/HISTORY.md +8 -0
- data/lib/sanitize/config/relaxed.rb +1 -1
- data/lib/sanitize/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 56198b0f03aece3c1a19243dffa2436c927cf999
|
4
|
+
data.tar.gz: 2998dc900ea75523ee9b2f401b6cffbaf73b7aec
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a77e3b50f6f6a8a2c154e530e7c48d34ddbf6986be72ef706bcef320b1f3cbb74d4eb6843326770e4fe395345efe210aa0bcfdf747b8bd07189af8bc62619cb3
|
7
|
+
data.tar.gz: ca92ad3e4be9f88f79b526e256eb52a8c49acc59291fd533ce6ea9821251800509b8b1cda5bb9c54d8f03852cd2477829e62981a287849b75fb76df2b416d735
|
data/HISTORY.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Sanitize History
|
2
2
|
|
3
|
+
## 4.4.0 (2016-09-29)
|
4
|
+
|
5
|
+
* Added `srcset` to the attribute whitelist for `img` elements in the relaxed
|
6
|
+
config. [@ejtttje - #156][156]
|
7
|
+
|
8
|
+
[156]:https://github.com/rgrove/sanitize/pull/156
|
9
|
+
|
10
|
+
|
3
11
|
## 4.3.0 (2016-09-20)
|
4
12
|
|
5
13
|
* Methods can now be used as transformers. [@Skipants - #155][155]
|
@@ -19,7 +19,7 @@ class Sanitize
|
|
19
19
|
'colgroup' => %w[span width],
|
20
20
|
'data' => %w[value],
|
21
21
|
'del' => %w[cite datetime],
|
22
|
-
'img' => %w[align alt border height src width],
|
22
|
+
'img' => %w[align alt border height src srcset width],
|
23
23
|
'ins' => %w[cite datetime],
|
24
24
|
'li' => %w[value],
|
25
25
|
'ol' => %w[reversed start type],
|
data/lib/sanitize/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sanitize
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.
|
4
|
+
version: 4.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ryan Grove
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-09-
|
11
|
+
date: 2016-09-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: crass
|