aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/sisu/v3/dal_doc_str.rb
diff options
context:
space:
mode:
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