html-pipeline 2.9.1 → 2.9.2
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 +4 -4
- data/lib/html/pipeline/sanitization_filter.rb +2 -1
- data/lib/html/pipeline/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 1020d07d65479dcb496742d0e58737b323df5558a93c0af2c63f75a4b71c47ea
|
|
4
|
+
data.tar.gz: b4c62c0b278c1e37b76c2468045405276e51b3524a1ed2ac803e8a1c2759b104
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 0f0f77a905f2891ebd2aade14050e28a57ab6ada0e13c8ebf9da9ec0d048e3c088e2eef3dfd8bca31f699120ae75d28ce5d92a52039c7073b7dd3ce1d6993f3d
|
|
7
|
+
data.tar.gz: 23a6e97fb9c2c90b88263570d6f74b7465f99449c871731e6a9a2fce4f5e520f39c8b1d0b2e238061da096d16c5caf04242e25bd58cbf5ef33c9a87c8e602abf
|
|
@@ -43,6 +43,7 @@ module HTML
|
|
|
43
43
|
div ins del sup sub p ol ul table thead tbody tfoot blockquote
|
|
44
44
|
dl dt dd kbd q samp var hr ruby rt rp li tr td th s strike summary
|
|
45
45
|
details caption figure figcaption
|
|
46
|
+
abbr bdo cite dfn mark small span time wbr
|
|
46
47
|
].freeze,
|
|
47
48
|
remove_contents: ['script'].freeze,
|
|
48
49
|
attributes: {
|
|
@@ -109,7 +110,7 @@ module HTML
|
|
|
109
110
|
# protocols, and transformers from WHITELIST but with a more locked down
|
|
110
111
|
# set of allowed elements.
|
|
111
112
|
LIMITED = WHITELIST.merge(
|
|
112
|
-
elements: %w[b i strong em a pre code img ins del sup sub p ol ul li]
|
|
113
|
+
elements: %w[b i strong em a pre code img ins del sup sub mark abbr p ol ul li]
|
|
113
114
|
)
|
|
114
115
|
|
|
115
116
|
# Strip all HTML tags from the document.
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: html-pipeline
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.9.
|
|
4
|
+
version: 2.9.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Ryan Tomayko
|
|
@@ -10,7 +10,7 @@ authors:
|
|
|
10
10
|
autorequire:
|
|
11
11
|
bindir: bin
|
|
12
12
|
cert_chain: []
|
|
13
|
-
date:
|
|
13
|
+
date: 2019-01-04 00:00:00.000000000 Z
|
|
14
14
|
dependencies:
|
|
15
15
|
- !ruby/object:Gem::Dependency
|
|
16
16
|
name: activesupport
|