From d98f27086318452017b80952a297f2ccb05bc4b1 Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Mon, 1 Oct 2012 16:09:17 -0400 Subject: v3: some fixes, cleaning, removing --- lib/sisu/v3/html_format.rb | 48 +++++----------------------------------------- 1 file changed, 5 insertions(+), 43 deletions(-) (limited to 'lib/sisu/v3/html_format.rb') diff --git a/lib/sisu/v3/html_format.rb b/lib/sisu/v3/html_format.rb index 433652e0..fa9ac462 100644 --- a/lib/sisu/v3/html_format.rb +++ b/lib/sisu/v3/html_format.rb @@ -135,7 +135,7 @@ module SiSU_HTML_Format end def png_nav def toc - %{TOC} + %{toc} end def pre %{<< previous} @@ -744,42 +744,6 @@ WOK %{
} - end - def heading_advert_local_1 - dir=SiSU_Env::InfoEnv.new(@fns) - %{
- -
- - #{@md.ad_alt} - -

-#{@vz.table_close} -} - end - def heading_advert_local_2 - dir=SiSU_Env::InfoEnv.new(@fns) - %{

- -
- - #{@md.ad_alt} - -

-#{@vz.table_close} -} - end - def heading_advert_external - dir=SiSU_Env::InfoEnv.new(@fns) - %{

- -
- - #{@md.ad_alt} - -

-#{@vz.table_close} -} end def credit %{ @@ -1033,16 +997,14 @@ WOK end para_form_css('p','norm') end - def break - @txt=@txt.gsub(/#{Mx[:br_page_new]}|#{Mx[:br_page]}/,'



'). - gsub(/#{Mx[:br_obj]}/,'

') - para_form_css('p','norm') - end def format(tag,attrib) para_form_css(tag,attrib) end def heading_normal(tag,attrib) - %{ + section_break=(tag=~/h[1-4]/) \ + ? '


' + : '' + %{#{section_break}
#{@p_num.ocn_display} <#{tag} class="#{attrib}" #{@p_num.id}>#{@p_num.name} -- cgit v1.2.3