From 480ff5a4cbee3ae28f9069e56e05ff32c44295d7 Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Wed, 28 Aug 2019 10:47:35 -0400 Subject: markup modification: distinguish blocks and groups - use where appropriate instead of poem --- data/doc/sisu/CHANGELOG_v7 | 3 +++ lib/sisu/ao_doc_str.rb | 4 ++++ 2 files changed, 7 insertions(+) diff --git a/data/doc/sisu/CHANGELOG_v7 b/data/doc/sisu/CHANGELOG_v7 index c321346c..7e7a44c5 100644 --- a/data/doc/sisu/CHANGELOG_v7 +++ b/data/doc/sisu/CHANGELOG_v7 @@ -25,6 +25,9 @@ Reverse Chronological: * sisu_7.2.0.orig.tar.xz (Open commit window: 2019-08-28; Pre-Release) http://git.sisudoc.org/gitweb/?p=code/sisu.git;a=log;h=refs/tags/sisu_7.2.0 + - markup modification + - (markup blocks) distinguish block from group + * sisu_7.1.12.orig.tar.xz (2019-07-16:28/2) http://git.sisudoc.org/gitweb/?p=code/sisu.git;a=log;h=refs/tags/sisu_7.1.12 diff --git a/lib/sisu/ao_doc_str.rb b/lib/sisu/ao_doc_str.rb index 1dbcf9e8..27152b98 100644 --- a/lib/sisu/ao_doc_str.rb +++ b/lib/sisu/ao_doc_str.rb @@ -1002,6 +1002,8 @@ module SiSU_AO_DocumentStructureExtract || @per.poem==:tics) \ or (@per.group==:curls \ || @per.group==:tics) \ + or (@per.block==:curls \ + || @per.block==:tics) \ or (@per.alt==:curls \ || @per.alt==:tics) \ and t_o =~/\S/ \ @@ -1033,6 +1035,7 @@ module SiSU_AO_DocumentStructureExtract if @per.poem==:curls or @per.poem==:tics \ or @per.box==:curls or @per.box==:tics \ or @per.group==:curls or @per.group==:tics \ + or @per.block==:curls or @per.block==:tics \ or @per.alt==:curls or @per.alt==:tics \ or (@per.quote==:open and t_o =~/`:quote_close`/m) if t_o.is_a?(String) @@ -1065,6 +1068,7 @@ module SiSU_AO_DocumentStructureExtract code_block: 0, poem: 0, box: 0, + block: 0, group: 0, alt: 0, quote: 0, -- cgit v1.2.3