diff options
| -rw-r--r-- | lib/sisu/v0/html_segments.rb | 4 | ||||
| -rw-r--r-- | lib/sisu/v0/manpage.rb | 2 | ||||
| -rw-r--r-- | lib/sisu/v0/plaintext.rb | 2 | 
3 files changed, 4 insertions, 4 deletions
| diff --git a/lib/sisu/v0/html_segments.rb b/lib/sisu/v0/html_segments.rb index a7e81624..7c97925e 100644 --- a/lib/sisu/v0/html_segments.rb +++ b/lib/sisu/v0/html_segments.rb @@ -65,7 +65,7 @@ module SiSU_HTML_seg      @@loop_count=@@seg_total=@@tracker=0      @@is4=@@is3=@@is2=@@is1=0      @@header1=@@header2=@@header3=@@header4=0 -    @@seg[:tocband],@@seg[:title],@@seg[:headers],@@seg[:main],@@seg[:tail],@@seg[:credits],@@seg_subtoc_array,@@seg_endnotes_array,@@heading_endnotes_array,@@seg[:endnote_all]=Array.new(10){[]} +    @@seg[:tocband],@@seg[:title],@@seg[:headers],@@seg[:main],@@seg[:tail],@@seg[:credits],@@seg_subtoc_array,@@seg_endnotes_array,@@seg[:endnote_all]=Array.new(9){[]}      @@seg[:header_endnotes]=''      @@tablehead,@@number_of_cols=0,0      @@flag_group=false @@ -385,7 +385,7 @@ module SiSU_HTML_seg        reinitialise        @@seg_total,@@tracker=0,0        @@seg_endnotes,@@seg_subtoc={},{} -      @@seg_endnotes_array,@@seg_subtoc_array,@@heading_endnotes_array=[],[],[] +      @@seg_endnotes_array,@@seg_subtoc_array=[],[]        @@seg[:endnote_all]=[]      end      def get_subtoc_endnotes(data) #get endnotes & sub-table of contents subtoc diff --git a/lib/sisu/v0/manpage.rb b/lib/sisu/v0/manpage.rb index dfc1ebf8..05586dec 100644 --- a/lib/sisu/v0/manpage.rb +++ b/lib/sisu/v0/manpage.rb @@ -489,7 +489,7 @@ WOK          #content << manpage[:owner_details] if @md.stmp =~/\w+/ #not used?          content << manpage[:tail]          Output.new(content,@md).manpage -        @@endnotes[:para],@@endnotes[:end]=[],[] +        @@endnotes={ :para=>[],:end=>[] }        end      end      class Output <Source diff --git a/lib/sisu/v0/plaintext.rb b/lib/sisu/v0/plaintext.rb index 886e50a2..aa2d747a 100644 --- a/lib/sisu/v0/plaintext.rb +++ b/lib/sisu/v0/plaintext.rb @@ -458,7 +458,7 @@ WOK          content << plaintext[:owner_details] if @md.stmp =~/\w+/ #not used?          content << plaintext[:tail]          Output.new(content,@md).plaintext -        @@endnotes[:para],@@endnotes[:end]=[],[] +        @@endnotes={ :para=>[],:end=>[] }        end      end      class Output <Source | 
