sanitize_with_deprecated 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +3 -0
- data/lib/sanitize_with_deprecated/version.rb +1 -1
- data/lib/sanitize_with_deprecated.rb +4 -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: 0dfa7627bd816848929da4f9d5cb96598f19a51c
|
4
|
+
data.tar.gz: e76356543c1c0c06f79fe62432e0546ae35747b6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9901a857e71b0ded9ce3371bc75ceceff4968100def0a8631e518f52bd5df0682e12396e15ee07e2c1a5ce22989e9e1997eeb063e8dc7e29ea1fc8dfd80fc513
|
7
|
+
data.tar.gz: 47f349a2daad9870eba5861a4cd8887d1335d343e2903ebc0ff5259e7037875e67f7fa7cabfb81d5d0a029393152e169b46f97c99826be3235b6a071b172ca9c
|
data/README.md
CHANGED
@@ -29,3 +29,6 @@ Or install it yourself as:
|
|
29
29
|
Use the exposed `Sanitize::Config::RELAXED_WITH_DEPRECATED` configuration
|
30
30
|
constant as described in
|
31
31
|
[sanitize’s documentation](https://github.com/rgrove/sanitize#quick-start).
|
32
|
+
|
33
|
+
Other than adding a few additional tags, it’s exactly the same as
|
34
|
+
`Sanitize::Config::RELAXED`.
|
@@ -4,5 +4,8 @@ Sanitize::Config::RELAXED_WITH_DEPRECATED = Sanitize::Config.merge(
|
|
4
4
|
Sanitize::Config::RELAXED,
|
5
5
|
elements: Sanitize::Config::RELAXED[:elements] + %w[
|
6
6
|
acronym basefont big blink center command dir font marquee strike tt
|
7
|
-
]
|
7
|
+
],
|
8
|
+
attributes: Sanitize::Config::RELAXED[:attributes].merge(
|
9
|
+
all: %w[bgcolor width height border color]
|
10
|
+
)
|
8
11
|
)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sanitize_with_deprecated
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Stephen O’Brien
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2018-02-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: sanitize
|