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 +1 -1
- data/lib/turbine-core/types/quote.rb +1 -2
- metadata +1 -1
data/VERSION.yml
CHANGED
@@ -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.
|
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
|