mdless 2.1.15 → 2.1.17
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +2 -1
- 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: 5ffb5f3154fd9b51b3022da00158fc25d1c291a1bc5eda0df39762997e304f07
|
4
|
+
data.tar.gz: beea04030e6ad6cc6b1ccfc54e457eb51d03de79b0937f8744b5c277212e9b54
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3c37206e0a1b989d3ce9b02e181c3b809713f8312806c777ca78cef6a608b8e2be9fc3616b5e9462d43f97889c2efa56b7812d523c32bb66f9e082c3edcec055
|
7
|
+
data.tar.gz: 3d4a127b244e190f01bb8634437fb6f96574a10887adb2fa73e8d1f886f3a757749a3b6a6e618d2af204e042abff9a86691456e26877ed2ae392775cd8540709
|
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