myobie-turbine-core 0.3.5 → 0.3.6
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 +2 -1
- metadata +2 -2
data/VERSION.yml
CHANGED
@@ -20,7 +20,8 @@ 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
|
23
|
+
quote_html = markdown.to_html || ""
|
24
|
+
quote_html.strip!
|
24
25
|
|
25
26
|
!(text =~ /Quote: (.*)/).nil? || !(quote_html =~ /^<blockquote(.+)<\/blockquote>$/m).nil?
|
26
27
|
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.
|
4
|
+
version: 0.3.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nathan Herald
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2009-04-
|
12
|
+
date: 2009-04-15 00:00:00 -07:00
|
13
13
|
default_executable:
|
14
14
|
dependencies: []
|
15
15
|
|