qiita-markdown 0.11.1 → 0.11.2
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of qiita-markdown might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/CHANGELOG.md +3 -0
- data/lib/qiita/markdown/filters/sanitize.rb +21 -1
- data/lib/qiita/markdown/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: c616ac60e98b103ea1923bfb61a2b8dba81a8360
|
4
|
+
data.tar.gz: 4437c013d34d01d707597071dc8881e70d095c43
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 39edeccac9b7c4b68c7f2d098753e188869fefe42f0ed8e999775d7db4cd05015943db2f64452c7d4341bbafeb4d1c1f31fed606a3c0264d3002d36809e4ba51
|
7
|
+
data.tar.gz: 91c31e3751ccae3c4f248ea74e1aaed8a9126d0b8eda1949042e196ee3d9b56f9fc091dd09afed92a68da6f6c190df5a0de143467eb19d441e1358cf2851860c
|
data/CHANGELOG.md
CHANGED
@@ -82,6 +82,14 @@ module Qiita
|
|
82
82
|
"th" => [
|
83
83
|
"style",
|
84
84
|
],
|
85
|
+
"video" => [
|
86
|
+
"src",
|
87
|
+
"autoplay",
|
88
|
+
"controls",
|
89
|
+
"loop",
|
90
|
+
"muted",
|
91
|
+
"poster",
|
92
|
+
],
|
85
93
|
all: [
|
86
94
|
"abbr",
|
87
95
|
"align",
|
@@ -183,6 +191,18 @@ module Qiita
|
|
183
191
|
"https",
|
184
192
|
],
|
185
193
|
},
|
194
|
+
"video" => {
|
195
|
+
"src" => [
|
196
|
+
:relative,
|
197
|
+
"http",
|
198
|
+
"https",
|
199
|
+
],
|
200
|
+
"poster" => [
|
201
|
+
:relative,
|
202
|
+
"http",
|
203
|
+
"https",
|
204
|
+
],
|
205
|
+
},
|
186
206
|
},
|
187
207
|
remove_contents: [
|
188
208
|
"script",
|
@@ -193,7 +213,7 @@ module Qiita
|
|
193
213
|
SCRIPTABLE_RULE = RULE.dup.tap do |rule|
|
194
214
|
rule[:attributes] = RULE[:attributes].dup
|
195
215
|
rule[:attributes][:all] = rule[:attributes][:all] + [:data]
|
196
|
-
rule[:elements] = RULE[:elements] + ["iframe", "script"]
|
216
|
+
rule[:elements] = RULE[:elements] + ["iframe", "script", "video"]
|
197
217
|
rule[:remove_contents] = []
|
198
218
|
end
|
199
219
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: qiita-markdown
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.11.
|
4
|
+
version: 0.11.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ryo Nakamura
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-12-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gemoji
|