tzispa_helpers 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 +4 -4
- data/CHANGELOG.md +3 -0
- data/lib/tzispa/helpers/text.rb +1 -1
- data/lib/tzispa/helpers/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: 32211499a790019a60889b90bbca7806179aee31
|
4
|
+
data.tar.gz: a82a4c432cf25627717cf2b82ab02079cdee4ba5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a84211773676e7c739192daee01b7ed8f5a89ed14d2b8c7b0dbfa3427d1a07c3342a299d5f9a1c40799c2726fde724da144b2d9f585f67c08ba8e72cf90a8af9
|
7
|
+
data.tar.gz: 8b82804b2c1f1423af02f278d82dc065422efce51d11248ce5fdeca997b45217a59bd8288b7e24c15545594d7813aa4d735924616e958235b64e552ff2b97257
|
data/CHANGELOG.md
CHANGED
data/lib/tzispa/helpers/text.rb
CHANGED
@@ -154,7 +154,7 @@ module Tzispa
|
|
154
154
|
def mime_formatter(text, mime)
|
155
155
|
case mime
|
156
156
|
when 'text/x-markdown'
|
157
|
-
Redcarpet::Markdown.new(Redcarpet::Render::HTML.new).render text
|
157
|
+
Redcarpet::Markdown.new(Redcarpet::Render::HTML.new).render(text) if text
|
158
158
|
else
|
159
159
|
text
|
160
160
|
end
|