From f31e286f4a73c5c0f355512b0cb45c6c82088516 Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Sat, 22 Jun 2013 01:13:46 -0400 Subject: v5: general code cleaning * propagate back to v4 after testing --- lib/sisu/v5/html_format.rb | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) (limited to 'lib/sisu/v5/html_format.rb') diff --git a/lib/sisu/v5/html_format.rb b/lib/sisu/v5/html_format.rb index 3c8bc465..aee090cd 100644 --- a/lib/sisu/v5/html_format.rb +++ b/lib/sisu/v5/html_format.rb @@ -187,7 +187,7 @@ module SiSU_HTML_Format else @md.file.output_path.html_seg.rel_image end - dir=SiSU_Env::FileOp.new(@md) + SiSU_Env::FileOp.new(@md) button +=%{

home icon -->

\n} elsif @md.home_button_links.is_a?(Array) @md.home_button_links.each do |links| @@ -221,7 +221,7 @@ module SiSU_HTML_Format end def scroll(text) if @md.fns =~ /\.(?:-|ssm\.)?sst$/ - scroll=%{ + %{ #{text} @@ -301,7 +301,7 @@ module SiSU_HTML_Format end def scroll_head_navigation_band if @make.build.html_top_band? - search_and_manifest=< #{make_scroll_search_form_and_manifest_link} @@ -380,7 +380,7 @@ WOK end def make_scroll_search_form_and_manifest_link wgt=SiSU_HTML_Format::Widget.new(@md) - scroll=%{ + %{ #{@vz.nav_txt_doc_link} } @@ -391,7 +391,7 @@ WOK } end def make_scroll_seg_pdf - manifest=scroll=seg='' + seg='' wgt=SiSU_HTML_Format::Widget.new(@md) seg=%{ #{@vz.nav_txt_toc_link} @@ -405,7 +405,6 @@ WOK } end def make_concordance - manifest=scroll=seg='' wgt=SiSU_HTML_Format::Widget.new(@md) %{ @@ -732,7 +731,6 @@ WOK #{@vz.table_close}} end def toc_next2 - pre,nxt=false,true toc_nav(false,true).dup end def toc_pre_next2 @@ -931,7 +929,7 @@ WOK if defined? dob.tags \ and dob.tags.length > 0 # insert tags "hypertargets" dob.tags.each do |t| - tags=tags +%{} + tags=tags << %{} end end tags @@ -941,7 +939,7 @@ WOK if defined? dob.tags \ and dob.tags.length > 0 # insert tags "hypertargets" dob.tags.each do |t| - tags=tags +%{} + tags=tags << %{} end end tags -- cgit v1.2.3