mdless 1.0.9 → 1.0.10
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/mdless/converter.rb +3 -2
- data/lib/mdless/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b304cbb274cf4909d011239377a99fbecad0ef8cff1eef0eae9bc18407531cfc
|
4
|
+
data.tar.gz: a51aa9a7f785dbfd33d3a8f635d8a2f58bd79ac95506ad49fc21b59822dd9da6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b245917f11ecf8806dc34240e5b039cb5685b68ee0b9d0c52cede089b5567bee0ebb9f68960bd59e7c54093951712577f845b03a13f75c076c6e64d41ee0e0dd
|
7
|
+
data.tar.gz: 8a267746ee40a94809750a1717076126e858b8d146bcb9ee11d4234270726fd580bc82617fba70889d7c65e2f1049eff55db249d947cc759fa494bef6058d5cd
|
data/lib/mdless/converter.rb
CHANGED
@@ -209,6 +209,7 @@ module CLIMarkdown
|
|
209
209
|
]
|
210
210
|
}
|
211
211
|
end
|
212
|
+
|
212
213
|
@headers
|
213
214
|
end
|
214
215
|
|
@@ -797,8 +798,8 @@ module CLIMarkdown
|
|
797
798
|
|
798
799
|
# Headlines
|
799
800
|
@headers.each {|h|
|
800
|
-
input.sub!(/^#{h[2]}/) do |m|
|
801
|
-
pad =
|
801
|
+
input.sub!(/^#{Regexp.escape(h[2])}/m) do |m|
|
802
|
+
pad = ''
|
802
803
|
ansi = ''
|
803
804
|
case h[0].length
|
804
805
|
when 1
|
data/lib/mdless/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mdless
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.10
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brett Terpstra
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-01-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|