diff options
author | Ralph Amissah <ralph@amissah.com> | 2014-06-22 10:36:10 -0400 |
---|---|---|
committer | Ralph Amissah <ralph@amissah.com> | 2014-06-22 10:38:37 -0400 |
commit | 943cfb453046da6f6bb6753098166a6ec96b4c14 (patch) | |
tree | 23fc47cce42ce28461e2ff7942f289a8dcb37953 /lib | |
parent | v5: version & changelog (& rakefile) (diff) |
ao, fix bug in previous version (5.4.1) from sloppy cherry pick of v6sisu_5.4.2
* ao_doc_str (codeblock)
Diffstat (limited to 'lib')
-rw-r--r-- | lib/sisu/v5/ao_doc_str.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/sisu/v5/ao_doc_str.rb b/lib/sisu/v5/ao_doc_str.rb index 43fa8e5e..4708a126 100644 --- a/lib/sisu/v5/ao_doc_str.rb +++ b/lib/sisu/v5/ao_doc_str.rb @@ -425,8 +425,8 @@ module SiSU_AO_DocumentStructureExtract @@counter=1 @codeblock_numbered=(t_o =~/^(?:code\{#|```[ ]+code\s[#])/) ? true : false @num_id[:code_block] +=1 - h={ obj: '', sym: :code_block_open, num: @num_id[:code_block] } - t_o=SiSU_AO_DocumentStructure::ObjectLayout.new.open_close(h) + h={ obj: "group text start #{@num_id[:code_block]}" } + t_o=SiSU_AO_DocumentStructure::ObjectComment.new.comment(h) elsif t_o =~/^(?:poem\{|```[ ]+poem)/ @@flag[:poem]=case t_o when /^poem\{/ then :curls |