qiita-markdown 0.1.3 → 0.1.4

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: db0c2afc4126606fe9f8cd83adec1766ea961c90
4
- data.tar.gz: 0bda2be22b6eac2d228f544de6a47e3a9f0fafc0
3
+ metadata.gz: 3dd612bb5e6021b3947c06d888c0225c00cc800f
4
+ data.tar.gz: 3dfe1e0e5cfbcf1773b743a30a0807bc028453aa
5
5
  SHA512:
6
- metadata.gz: a038c4358d7378253d8c99d5a0c690b195ac244fde517de2ef1c7c32acb31bc75aa200cdea57a4f8a432dd54bed941dbfe5310ff3b95e10417835be9615cda0c
7
- data.tar.gz: ca44843d557e3a0b4d57aa6142c114a4b6fa20eedf876f377dfdf5bd422a48fe9f7d3d6cad0e9582806c4d482ef5fdbd32a5276509bc0bf1c636fa1d1c4b3ad3
6
+ metadata.gz: 84d493dd21a8d001e41cf2e07164597fb40f0fe40147d26285980c32cc90574571b4d7930371583a2d1a6d07e123996539793b998f9ef97606335e9c079e507f
7
+ data.tar.gz: 26d7ef89ee44f7b69e0e7e045bd5cfa8d823a464f981793a3975472dac957c7bde837ffb664fc4cc51d46744d21254033bc673c65d6c15ca9a1f794973c0e33b
@@ -1,3 +1,6 @@
1
+ ## 0.1.4
2
+ * Support type attribute of script element
3
+
1
4
  ## 0.1.3
2
5
  * Support text-align syntax on table
3
6
 
@@ -69,6 +69,7 @@ module Qiita
69
69
  "script" => [
70
70
  "async",
71
71
  "src",
72
+ "type"
72
73
  ],
73
74
  "td" => [
74
75
  "style",
@@ -1,5 +1,5 @@
1
1
  module Qiita
2
2
  module Markdown
3
- VERSION = "0.1.3"
3
+ VERSION = "0.1.4"
4
4
  end
5
5
  end
@@ -177,14 +177,14 @@ describe Qiita::Markdown::Processor do
177
177
  end
178
178
  end
179
179
 
180
- context "with data-attribute" do
180
+ context "with allowed attributes" do
181
181
  before do
182
182
  context[:script] = true
183
183
  end
184
184
 
185
185
  let(:markdown) do
186
186
  <<-EOS.strip_heredoc
187
- <p><script async data-a="b">alert(1)</script></p>
187
+ <p><script async data-a="b" type="text/javascript">alert(1)</script></p>
188
188
  EOS
189
189
  end
190
190
 
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.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ryo Nakamura
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-10-20 00:00:00.000000000 Z
11
+ date: 2014-10-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport