qiita-markdown 0.0.4 → 0.0.5
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:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 4b7f1b7babdb03dcf12c0fab552db3d1dede3acb
|
|
4
|
+
data.tar.gz: f2989a7161187b503576e508c9314d3f19ef9e86
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: a5d59878ad1a408bb792fb3d8b916241e9e20c537c11d416048f317f0a8c9c251fd816bb1badd801563ab889fb9ce97c9a90016bd13e706c59e57d9c92c282c1
|
|
7
|
+
data.tar.gz: 9367a914247a1e5881b626f27d17c7ac4692a7961900d7d9b39612258bfcf4efde9c235767c39db3597341de566a8ab7ae9d765e9d9ed9037e00ca316c36ac79
|
data/CHANGELOG.md
CHANGED
|
@@ -6,8 +6,6 @@ module Qiita
|
|
|
6
6
|
#
|
|
7
7
|
# You can pass :allowed_usernames context to limit mentioned usernames.
|
|
8
8
|
class Mention < HTML::Pipeline::MentionFilter
|
|
9
|
-
# Overrides HTML::Pipeline::MentionFilter's constant.
|
|
10
|
-
# Allows "_" instead of "-" in username pattern.
|
|
11
9
|
MentionPattern = /
|
|
12
10
|
(?:^|\W)
|
|
13
11
|
@((?>[\w][\w-]{1,30}\w(?:@github)?))
|
|
@@ -363,5 +363,17 @@ describe Qiita::Markdown::Processor do
|
|
|
363
363
|
]
|
|
364
364
|
end
|
|
365
365
|
end
|
|
366
|
+
|
|
367
|
+
context "with font element with color attribute" do
|
|
368
|
+
let(:markdown) do
|
|
369
|
+
%[<font color="red">test</font>]
|
|
370
|
+
end
|
|
371
|
+
|
|
372
|
+
it "allows font element with color attribute" do
|
|
373
|
+
should eq <<-EOS.strip_heredoc
|
|
374
|
+
<p>#{markdown}</p>
|
|
375
|
+
EOS
|
|
376
|
+
end
|
|
377
|
+
end
|
|
366
378
|
end
|
|
367
379
|
end
|
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.0.
|
|
4
|
+
version: 0.0.5
|
|
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-
|
|
11
|
+
date: 2014-10-08 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: activesupport
|