|
From: | noreply |
Subject: | [myexperiment-hackers] [2793] trunk/app/models/pack.rb: Should be using html version of description when generating index. html on pack |
Date: | Wed, 9 Nov 2011 06:47:56 -0500 (EST) |
Should be using html version of description when generating index.html on pack zip download.
--- trunk/app/models/pack.rb 2011-11-09 10:46:15 UTC (rev 2792)
+++ trunk/app/models/pack.rb 2011-11-09 11:47:55 UTC (rev 2793)
@@ -150,7 +150,7 @@
end +
cgi.div("class" => "pack_description") do
cgi.h3 {"Description"} +
- cgi.p { (self.description.nil? || self.description.empty? ? "none" : self.description ) }
+ cgi.p { (self.description_html.nil? || self.description_html.empty? ? "none" : self.description_html ) }
end
end
[Prev in Thread] | Current Thread | [Next in Thread] |