html-pipeline 2.8.2 → 2.8.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/html/pipeline/sanitization_filter.rb +20 -18
- data/lib/html/pipeline/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: 9230c1ae1d7123e850b6d0c74a3fb8e65c45a296
|
4
|
+
data.tar.gz: 88b241978a3bf1a51c6713df99a46e13fa8f5434
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 77f6df3626ec2a3c594e65addcc3b74c5d9ee7b17e308c45a73bd53b1d97d7ece6f47fd080e963e2855cfb9f76b24724990fdad7e21c326809673bd45960b003
|
7
|
+
data.tar.gz: 88d578c1cf4dfebd6c025ad4ffa02e710e8ee86975fa61c546f7c529c61d7aa6f2a031f176b39dae4d96c840d840c6b231cf8a8fd835247c8e2dde9a2d7e13ba
|
@@ -41,7 +41,8 @@ module HTML
|
|
41
41
|
elements: %w[
|
42
42
|
h1 h2 h3 h4 h5 h6 h7 h8 br b i strong em a pre code img tt
|
43
43
|
div ins del sup sub p ol ul table thead tbody tfoot blockquote
|
44
|
-
dl dt dd kbd q samp var hr ruby rt rp li tr td th s strike summary
|
44
|
+
dl dt dd kbd q samp var hr ruby rt rp li tr td th s strike summary
|
45
|
+
details caption figure figcaption
|
45
46
|
],
|
46
47
|
remove_contents: ['script'],
|
47
48
|
attributes: {
|
@@ -52,23 +53,24 @@ module HTML
|
|
52
53
|
'del' => ['cite'],
|
53
54
|
'ins' => ['cite'],
|
54
55
|
'q' => ['cite'],
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
56
|
+
all: %w[abbr accept accept-charset
|
57
|
+
accesskey action align alt
|
58
|
+
aria-describedby aria-hidden aria-label aria-labelledby
|
59
|
+
axis border cellpadding cellspacing char
|
60
|
+
charoff charset checked
|
61
|
+
clear cols colspan color
|
62
|
+
compact coords datetime dir
|
63
|
+
disabled enctype for frame
|
64
|
+
headers height hreflang
|
65
|
+
hspace ismap label lang
|
66
|
+
maxlength media method
|
67
|
+
multiple name nohref noshade
|
68
|
+
nowrap open prompt readonly rel rev
|
69
|
+
rows rowspan rules scope
|
70
|
+
selected shape size span
|
71
|
+
start summary tabindex target
|
72
|
+
title type usemap valign value
|
73
|
+
vspace width itemprop]
|
72
74
|
},
|
73
75
|
protocols: {
|
74
76
|
'a' => { 'href' => ANCHOR_SCHEMES },
|
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.8.
|
4
|
+
version: 2.8.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ryan Tomayko
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2018-06-
|
12
|
+
date: 2018-06-29 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: activesupport
|