aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/sisu/v5/po4a.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/sisu/v5/po4a.rb')
-rw-r--r--lib/sisu/v5/po4a.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/sisu/v5/po4a.rb b/lib/sisu/v5/po4a.rb
index 66798dbd..f0c48b3e 100644
--- a/lib/sisu/v5/po4a.rb
+++ b/lib/sisu/v5/po4a.rb
@@ -187,8 +187,8 @@ module SiSU_Po4a
@brace_url=SiSU_Viz::Defaults.new.url_decoration
@vz=SiSU_Viz::Defaults.new
@tab="\t"
- @@endnotes_=(@md.opt.mod.inspect =~/--endnote/) ? true : false # --footnote
- @br=(@md.opt.mod.inspect =~/--dos/) ? "\r\n" : "\n" # --unix
+ @@endnotes_=(@md.opt.selections.str =~/--endnote/) ? true : false # --footnote
+ @br=(@md.opt.selections.str =~/--dos/) ? "\r\n" : "\n" # --unix
@pot={ body: [], open: [], close: [], head: [], metadata: [], tail: [] }
end
def songsheet