sanitize_with_deprecated 0.1.0 → 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d140c298afe697ec3dcefd930aba204b49580a73
4
- data.tar.gz: 8f46f798a0773e1747701ce71cba8f6325e4557b
3
+ metadata.gz: 0dfa7627bd816848929da4f9d5cb96598f19a51c
4
+ data.tar.gz: e76356543c1c0c06f79fe62432e0546ae35747b6
5
5
  SHA512:
6
- metadata.gz: b47815f71c3541a3110d5b3b622005e52b6e4011d9344154ba400a011feeef61117d43fcd88485f25f780b013c3cfe9eecc992ba241f90a28450012006b67598
7
- data.tar.gz: 65803ca90cf8d74b13de6b47dd6c2e3ef5dcba88ea633729fe9b91f10115ba3e39393728943762d03ea918928c568cb5e571860525773cb0fbcc6b84062ae13c
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`.
@@ -1,3 +1,3 @@
1
1
  module SanitizeWithDeprecated
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
@@ -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.0
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: 2017-10-23 00:00:00.000000000 Z
11
+ date: 2018-02-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: sanitize