diff options
Diffstat (limited to 'lib/sisu/v3/po4a.rb')
-rw-r--r-- | lib/sisu/v3/po4a.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/sisu/v3/po4a.rb b/lib/sisu/v3/po4a.rb index 9ac98f00..ba892634 100644 --- a/lib/sisu/v3/po4a.rb +++ b/lib/sisu/v3/po4a.rb @@ -163,7 +163,7 @@ module SiSU_po4a require_relative 'defaults' # defaults.rb require_relative 'po4a_set' # po4a_set.rb include SiSU_po4a_utils - @@endnotes={ :para=>[],:end=>[] } + @@endnotes={ para: [], end: [] } def initialize(fn,data_src,data_trn,md_src,md_trn,wrap_width) @fn,@data_src,@data_trn,@md_src,@md_trn,@wrap_width=fn,data_src,data_trn,md_src,md_trn,wrap_width @md=(md_trn.nil?) \ @@ -174,7 +174,7 @@ module SiSU_po4a @tab="\t" @@endnotes_=(@md.mod.inspect =~/--endnote/) ? true : false # --footnote @br=(@md.mod.inspect =~/--dos/) ? "\r\n" : "\n" # --unix - @pot={ :body=>[],:open=>[],:close=>[],:head=>[],:metadata=>[],:tail=>[] } + @pot={ body: [], open: [], close: [], head: [], metadata: [], tail: [] } end def songsheet ############## BUG @fn changes value @@ -905,7 +905,7 @@ GSUB content << pot[:body] content << @@endnotes[:end] if @@endnotes_ Output.new(fn,content,@md).po4a - @@endnotes={ :para=>[],:end=>[] } + @@endnotes={ para: [], end: [] } end end class Output <Source |