aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/sisu/v3/dal_doc_str.rb
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2011-04-20 21:10:04 -0400
committerRalph Amissah <ralph@amissah.com>2011-04-20 21:10:04 -0400
commit0f740e9c185b6aaed05e193828545ce7664fdbec (patch)
treed27e2672ad3a816c743ad65ac3de85e1eb237f46 /lib/sisu/v3/dal_doc_str.rb
parentdebian/changelog (3.0.6-1) (diff)
parentv2 v3: sisu-mode.el, header notes copyright assignment to FSF (GNU EMACS) (diff)
Merge branch 'upstream' into debian/sid
Diffstat (limited to 'lib/sisu/v3/dal_doc_str.rb')
-rw-r--r--lib/sisu/v3/dal_doc_str.rb16
1 files changed, 8 insertions, 8 deletions
diff --git a/lib/sisu/v3/dal_doc_str.rb b/lib/sisu/v3/dal_doc_str.rb
index 09635066..61348d28 100644
--- a/lib/sisu/v3/dal_doc_str.rb
+++ b/lib/sisu/v3/dal_doc_str.rb
@@ -948,7 +948,7 @@ module SiSU_document_structure_extract
hs=[0,false,false,false]
t={ lv: @s[0], status: 'open' }
tuned_file << tags(t)
- if @md.cmd =~/V/
+ if @md.opt.cmd =~/V/
puts "\nXML sisu structure outline --->\n"
puts "<#{@s[0]}>"
end
@@ -958,7 +958,7 @@ module SiSU_document_structure_extract
when 1
tuned_file << tag_close(o.ln,hs)
tuned_file << tag_open(o,@s)
- if @md.cmd =~/V/
+ if @md.opt.cmd =~/V/
puts_tag_close(o.ln,hs)
puts_tag_open(o,@s)
end
@@ -966,7 +966,7 @@ module SiSU_document_structure_extract
when 2
tuned_file << tag_close(o.ln,hs)
tuned_file << tag_open(o,@s)
- if @md.cmd =~/V/
+ if @md.opt.cmd =~/V/
puts_tag_close(o.ln,hs)
puts_tag_open(o,@s)
end
@@ -974,7 +974,7 @@ module SiSU_document_structure_extract
when 3
tuned_file << tag_close(o.ln,hs)
tuned_file << tag_open(o,@s)
- if @md.cmd =~/V/
+ if @md.opt.cmd =~/V/
puts_tag_close(o.ln,hs)
puts_tag_open(o,@s)
end
@@ -982,7 +982,7 @@ module SiSU_document_structure_extract
when 4
tuned_file << tag_close(o.ln,hs)
tuned_file << tag_open(o,@s)
- if @md.cmd =~/V/
+ if @md.opt.cmd =~/V/
puts_tag_close(o.ln,hs)
puts_tag_open(o,@s)
end
@@ -990,7 +990,7 @@ module SiSU_document_structure_extract
when 5
tuned_file << tag_close(o.ln,hs)
tuned_file << tag_open(o,@s)
- if @md.cmd =~/V/
+ if @md.opt.cmd =~/V/
puts_tag_close(o.ln,hs)
puts_tag_open(o,@s)
end
@@ -998,7 +998,7 @@ module SiSU_document_structure_extract
when 6
tuned_file << tag_close(o.ln,hs)
tuned_file << tag_open(o,@s)
- if @md.cmd =~/V/
+ if @md.opt.cmd =~/V/
puts_tag_close(o.ln,hs)
puts_tag_open(o,@s)
end
@@ -1007,7 +1007,7 @@ module SiSU_document_structure_extract
end
tuned_file << o
end
- puts_tag_close(0,hs) if @md.cmd =~/V/
+ puts_tag_close(0,hs) if @md.opt.cmd =~/V/
tuned_file << tag_close(0,hs)
tuned_file.flatten!
tuned_file