summaryrefslogtreecommitdiffstats
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:07:46 +0000
commit480ff5a4cbee3ae28f9069e56e05ff32c44295d7 (patch)
treeb9575efd6cea7d564ed9be93d719a832527d2a48
parentversion & changelog, open commit window (diff)
downloadsisu-480ff5a4cbee3ae28f9069e56e05ff32c44295d7.zip
sisu-480ff5a4cbee3ae28f9069e56e05ff32c44295d7.tar.xz
markup modification: distinguish blocks and groups
- use where appropriate instead of poem
-rw-r--r--data/doc/sisu/CHANGELOG_v73
-rw-r--r--lib/sisu/ao_doc_str.rb4
2 files changed, 7 insertions, 0 deletions
diff --git a/data/doc/sisu/CHANGELOG_v7 b/data/doc/sisu/CHANGELOG_v7
index c321346..7e7a44c 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 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,