aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/sisu/v2/db_import.rb
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2010-07-06 16:17:04 -0400
committerRalph Amissah <ralph@amissah.com>2010-07-06 16:17:04 -0400
commit1866f5d2bfc189c5f53d6e0c350b727a455c75b5 (patch)
tree1c3b3d59bffe5fda6c843be733751826e19de841 /lib/sisu/v2/db_import.rb
parentdb_import, remove monospace tag (diff)
shared_html_lite, db_import, monospace font (codeblock & monospace tag)
Diffstat (limited to 'lib/sisu/v2/db_import.rb')
-rw-r--r--lib/sisu/v2/db_import.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/sisu/v2/db_import.rb b/lib/sisu/v2/db_import.rb
index bdb3fcac..4237757f 100644
--- a/lib/sisu/v2/db_import.rb
+++ b/lib/sisu/v2/db_import.rb
@@ -385,6 +385,8 @@ module SiSU_DB_import
@en_a_plus,@en_z_plus=@en_pls[0].first,@en_pls[0].last if @en_pls[0]
@col[:body]=if data.is=='table'
SiSU_Format_Shared::CSS_Format.new(@md,data).html_table
+ elsif data.is=='code'
+ SiSU_Format_Shared::CSS_Format.new(@md,data).code
elsif defined? data.indent and data.indent =~/[1-9]/
SiSU_Format_Shared::CSS_Format.new(@md,data).indent(data.indent)
else