summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2019-08-28 14:47:35 +0000
committerRalph Amissah <ralph@amissah.com>2019-09-03 16:28:22 +0000
commitf71f907a6e3ac45293ae2170f03948f15b38596c (patch)
treed60cb224270297949ef7e49f715d9b47dc200fc2 /lib
parentversion & changelog, open commit window (diff)
downloadsisu-f71f907a6e3ac45293ae2170f03948f15b38596c.zip
sisu-f71f907a6e3ac45293ae2170f03948f15b38596c.tar.xz
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 1dbcf9e..27152b9 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,