aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/sisu/v5/odf_format.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/sisu/v5/odf_format.rb')
-rw-r--r--lib/sisu/v5/odf_format.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/sisu/v5/odf_format.rb b/lib/sisu/v5/odf_format.rb
index 8abff36f..018fba83 100644
--- a/lib/sisu/v5/odf_format.rb
+++ b/lib/sisu/v5/odf_format.rb
@@ -70,12 +70,12 @@ module SiSU_ODF_Format
def set_ref_and_display
set_ref=@paranum.gsub(/(\d+)/,' <text:span text:style-name="Span_subscript"><text:reference-mark-start text:name="\1"/><text:reference-mark-end text:name="\1"/></text:span>')
disp=@paranum.gsub(/(\d+)/,' <text:span text:style-name="Span_subscript">[\1]</text:span>')
- ocn={ display: disp, set_ref: set_ref }
+ { display: disp, set_ref: set_ref }
end
def set_bookmark_and_display
set_ref=@paranum.gsub(/(\d+)/,' <text:span text:style-name="Span_subscript"><text:bookmark-start text:name="\1"/><text:bookmark-end text:name="\1"/></text:span>')
disp=@paranum.gsub(/(\d+)/,' <text:span text:style-name="Span_subscript">[\1]</text:span>')
- ocn={ display: disp, set_ref: set_ref }
+ { display: disp, set_ref: set_ref }
end
def name
@paranum.gsub(/(\d+)/,'<a name="\1"></a>')
@@ -225,7 +225,7 @@ module SiSU_ODF_Format
end
%{<table:table-row>#{@br}} +
%{<table:table-cell office:value-type="string">#{@br}} +
- %{<text:p text:style-name="#{txt_name_row}">#{@br}}
+ %{<text:p text:style-name="#{txt_name_row}">#{@br}} +
%{#{str}} +
%{</text:p>#{@br}} +
%{</table:table-cell>#{@br}} +