mdless 2.1.15 → 2.1.18
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +1 -0
- data/lib/mdless/console.rb +5 -6
- data/lib/mdless/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9c5dcb4862eb5ba44f64df14e47cf1007cb294861ab914f9df073c0d02563958
|
4
|
+
data.tar.gz: d8859b260c397faa82cc7d5f4651da968a45dfb5356950f519ab7815b014360b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '03378f55e76ae1754ddd392c3fc673fb64b970096784371edf5416c6d914791177f5721e2c5f3c301e2f573bbdda900dcc6564d34debe1e9e48dc725ed784b17'
|
7
|
+
data.tar.gz: 244b2789b7cc881446369a9b77b609ee5da864508aabd9039008c561048e3a3a440fa1c617b0c809f8cdca9f0ebe9d22516ed8846b46f55eb5929533ff2b6b65
|
data/CHANGELOG.md
CHANGED
data/lib/mdless/console.rb
CHANGED
@@ -760,11 +760,10 @@ module Redcarpet
|
|
760
760
|
line = "#{color('metadata marker')}#{'%' * longest}"
|
761
761
|
else
|
762
762
|
line.sub!(/^(.*?:)[ \t]+(\S)/, '\1 \2')
|
763
|
-
line = "#{color('metadata marker')}% #{color('metadata color')}#{line}
|
763
|
+
line = "#{color('metadata marker')}% #{color('metadata color')}#{line}"
|
764
764
|
end
|
765
|
-
|
766
|
-
line
|
767
|
-
line
|
765
|
+
line += "\u00A0" * (longest - line.uncolor.strip.length) if (longest - line.uncolor.strip.length).positive?
|
766
|
+
line + xc
|
768
767
|
end.join("\n") + "#{xc}\n"
|
769
768
|
end
|
770
769
|
end
|
@@ -780,8 +779,8 @@ module Redcarpet
|
|
780
779
|
|
781
780
|
lines.map do |line|
|
782
781
|
line.sub!(/^(.*?:)[ \t]+(\S)/, '\1 \2')
|
783
|
-
line = "#{color('metadata marker')}%#{color('metadata color')}#{line}
|
784
|
-
line += "\u00A0" * (longest - line.uncolor.strip.length)
|
782
|
+
line = "#{color('metadata marker')}%#{color('metadata color')}#{line}"
|
783
|
+
line += "\u00A0" * (longest - line.uncolor.strip.length) if (longest - line.uncolor.strip.length).positive?
|
785
784
|
line + xc
|
786
785
|
end.join("\n") + "#{"\u00A0" * longest}#{xc}\n"
|
787
786
|
end
|
data/lib/mdless/version.rb
CHANGED