diff options
author | Ralph Amissah <ralph@amissah.com> | 2011-04-19 21:37:52 -0400 |
---|---|---|
committer | Ralph Amissah <ralph@amissah.com> | 2011-04-19 21:37:52 -0400 |
commit | 44464e284ee840ee0ef7eae2d3f8d589680b18ca (patch) | |
tree | 7967e499e253737a4d8573e9c903ee714be1e762 /lib/sisu/v3/dal_endnotes.rb | |
parent | v3: 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/dal_endnotes.rb')
-rw-r--r-- | lib/sisu/v3/dal_endnotes.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/sisu/v3/dal_endnotes.rb b/lib/sisu/v3/dal_endnotes.rb index e0b4a57d..58ac8d0c 100644 --- a/lib/sisu/v3/dal_endnotes.rb +++ b/lib/sisu/v3/dal_endnotes.rb @@ -68,10 +68,10 @@ module SiSU_endnotes endnote_no,endnote_ref=1,1 data.each do |dob| # manually numbered endnotes <!e(\d)!> <!e_(\d)!> --> - if @md.mod.inspect =~/--no-asterisk|--no-annotate/ + if @md.opt.mod.inspect =~/--no-asterisk|--no-annotate/ dob.obj.gsub!(/#{Mx[:en_b_o]}\s.+?#{Mx[:en_b_c]}/,'') end - if @md.mod.inspect =~/--no-dagger|--no-annotate/ + if @md.opt.mod.inspect =~/--no-dagger|--no-annotate/ dob.obj.gsub!(/#{Mx[:en_b_o]}[+]\s.+?#{Mx[:en_b_c]}/,'') end if defined? dob.obj \ |