From 943cfb453046da6f6bb6753098166a6ec96b4c14 Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Sun, 22 Jun 2014 10:36:10 -0400 Subject: ao, fix bug in previous version (5.4.1) from sloppy cherry pick of v6 * ao_doc_str (codeblock) --- lib/sisu/v5/ao_doc_str.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib') 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 -- cgit v1.2.3