aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/sisu/v3/plaintext.rb
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2011-04-19 21:37:52 -0400
committerRalph Amissah <ralph@amissah.com>2011-04-19 21:37:52 -0400
commit44464e284ee840ee0ef7eae2d3f8d589680b18ca (patch)
tree7967e499e253737a4d8573e9c903ee714be1e762 /lib/sisu/v3/plaintext.rb
parentv3: options, hub, introduce opt.act booleans, more setting in options (diff)
v3: param, md remove md.cmd and md.mod shortcut methods, use use md.opt
* affects many files that now use @md.opt.cmd & @md.opt.mod (instead of @md.cmd & @md.mod)
Diffstat (limited to 'lib/sisu/v3/plaintext.rb')
-rw-r--r--lib/sisu/v3/plaintext.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/sisu/v3/plaintext.rb b/lib/sisu/v3/plaintext.rb
index 8ff64b30..74de7a0e 100644
--- a/lib/sisu/v3/plaintext.rb
+++ b/lib/sisu/v3/plaintext.rb
@@ -118,12 +118,12 @@ module SiSU_Plaintext
@env=SiSU_Env::Info_env.new(@md.fns)
@brace_url=SiSU_Viz::Skin.new.url_decoration
@tab="\t"
- @@endnotes_=case md.mod.inspect
+ @@endnotes_=case md.opt.mod.inspect
when /--footnote/; false
when /--endnote/; true
else true
end
- @br=case md.mod.inspect
+ @br=case md.opt.mod.inspect
when /--dos/; "\r\n"
when /--unix/; "\n"
else "\n"