aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/sisu/v2/odf_format.rb
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2010-06-11 22:00:33 -0400
committerRalph Amissah <ralph@amissah.com>2010-06-11 22:00:33 -0400
commit2da35997e8a74068821a6b4c52cd5eac7240874c (patch)
treec13fecc7aead2ddbcc5b811841552bb451a32d8d /lib/sisu/v2/odf_format.rb
parenttexpdf_format: add fontface to tables (diff)
table, (xhtml, odf): empty cell (single tilde to indicate); allow line breaks
Diffstat (limited to 'lib/sisu/v2/odf_format.rb')
-rw-r--r--lib/sisu/v2/odf_format.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/sisu/v2/odf_format.rb b/lib/sisu/v2/odf_format.rb
index f0163f81..384b46b7 100644
--- a/lib/sisu/v2/odf_format.rb
+++ b/lib/sisu/v2/odf_format.rb
@@ -147,6 +147,7 @@ module SiSU_ODF_format
'Table_20_Heading'
else 'P7'
end
+ str.gsub!(/^~$/,'') # tilde / empty cell
%{<table:table-cell office:value-type="string">#{@br}} +
%{<text:p text:style-name="#{txt_name_cell}">#{@br}} +
%{#{str}} +