myobie-turbine-core 0.3.6 → 0.3.7

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION.yml CHANGED
@@ -1,4 +1,4 @@
1
1
  ---
2
2
  :major: 0
3
3
  :minor: 3
4
- :patch: 6
4
+ :patch: 7
@@ -20,8 +20,7 @@ class Quote < PostType
20
20
  the_quote = the_quote.first || {}
21
21
 
22
22
  markdown = Markdown.new(the_quote[:quote])
23
- quote_html = markdown.to_html || ""
24
- quote_html.strip!
23
+ quote_html = markdown.text.blank? ? "" : markdown.to_html.strip
25
24
 
26
25
  !(text =~ /Quote: (.*)/).nil? || !(quote_html =~ /^<blockquote(.+)<\/blockquote>$/m).nil?
27
26
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: myobie-turbine-core
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.6
4
+ version: 0.3.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nathan Herald