nishisuke-blog-syntax 0.1.6 → 0.1.7
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 75e2f2748f568619329c649d46d14c7fddc4fd43371eb7168f3e31ce0eba3afb
|
4
|
+
data.tar.gz: 208a632ce5c7b30b424889aa129545360fba55149cd1b4da96fc3d13642b093d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0763d64bdda48feeef0f38f64b2dca94a962f4d3fbd9a3d9c1f9357bcfe8f8e4944037b593a0a1fdfe1c05b430ab74d73745ca4c8dbb18b7d0eff5fa904a5139
|
7
|
+
data.tar.gz: e8e96df8261134908e64098c8f78ef14a72fdffa1889b9d480c7c589b78022f6b276711e745b6439bdee8b1f6be9946f0ad0c11b3f15bca1eebd27a55f5d0264
|
@@ -14,8 +14,8 @@ module NishisukeBlogSyntax
|
|
14
14
|
|
15
15
|
def substitute(matched)
|
16
16
|
content_str = matched.match(PARSE_REGEXP)[1]
|
17
|
-
|
18
|
-
"<p>#{
|
17
|
+
content_str.gsub!(/\R|\s+/, ' ')
|
18
|
+
"<p>#{content_str.chop}</p>"
|
19
19
|
end
|
20
20
|
end
|
21
21
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: nishisuke-blog-syntax
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- nishisuke
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-01-
|
11
|
+
date: 2018-01-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|