slackdown 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/kramdown/converter/slack.rb +2 -8
- data/lib/slackdown.rb +1 -1
- data/lib/slackdown/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d463a431b887592246e0d0c4582c5205db7f3706
|
4
|
+
data.tar.gz: cd45ab242eeff87aa84e402ae19f7219aad8a8d0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8c882cb510b79566ac588fedd6c461bca2cbe5aab36fd6f316593fdfe67fc2e4a19ecd316296226459abc564078b8c5f4d9969b596b2c6ef333d78ef18389147
|
7
|
+
data.tar.gz: a853d4bcb49500b07459dcf13c61d7a64f8add172f15ef3d491834c2921a79d048d8061fcdfe70f0455344eb31ab39a3bc7247d39bb12705ff5cfdbf72aa0b23
|
@@ -66,7 +66,7 @@ module Kramdown
|
|
66
66
|
end
|
67
67
|
|
68
68
|
def convert_codeblock(el)
|
69
|
-
"```\n#{el.value}
|
69
|
+
"```\n#{el.value}```\n\n"
|
70
70
|
end
|
71
71
|
|
72
72
|
def convert_a(el)
|
@@ -119,7 +119,7 @@ module Kramdown
|
|
119
119
|
end
|
120
120
|
|
121
121
|
def convert_entity(el)
|
122
|
-
|
122
|
+
el.value.char
|
123
123
|
end
|
124
124
|
|
125
125
|
|
@@ -172,12 +172,6 @@ module Kramdown
|
|
172
172
|
laquo: "«",
|
173
173
|
raquo: "»" }.freeze
|
174
174
|
|
175
|
-
ENTITIES = {
|
176
|
-
"<" => "<",
|
177
|
-
">" => ">",
|
178
|
-
"&" => "&",
|
179
|
-
""" => "\"" }.freeze
|
180
|
-
|
181
175
|
end
|
182
176
|
end
|
183
177
|
end
|
data/lib/slackdown.rb
CHANGED
data/lib/slackdown/version.rb
CHANGED