aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2019-08-28 10:47:35 -0400
committerRalph Amissah <ralph@amissah.com>2019-09-03 12:07:46 -0400
commit480ff5a4cbee3ae28f9069e56e05ff32c44295d7 (patch)
treeb9575efd6cea7d564ed9be93d719a832527d2a48 /lib
parentversion & changelog, open commit window (diff)
markup modification: distinguish blocks and groups
- use where appropriate instead of poem
Diffstat (limited to 'lib')
-rw-r--r--lib/sisu/ao_doc_str.rb4
1 files changed, 4 insertions, 0 deletions
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,