aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/sisudoc/ocda/abstraction/doc_has.d
diff options
context:
space:
mode:
Diffstat (limited to 'src/sisudoc/ocda/abstraction/doc_has.d')
-rw-r--r--src/sisudoc/ocda/abstraction/doc_has.d12
1 files changed, 5 insertions, 7 deletions
diff --git a/src/sisudoc/ocda/abstraction/doc_has.d b/src/sisudoc/ocda/abstraction/doc_has.d
index 4ecf018..f01af78 100644
--- a/src/sisudoc/ocda/abstraction/doc_has.d
+++ b/src/sisudoc/ocda/abstraction/doc_has.d
@@ -264,13 +264,11 @@ template spineDocHasFromAbstraction() {
_tag_assoc[obj.metainfo.identifier]["seg_lv4"]
= obj.tags.html_segment_anchor_tag_is;
}
- /+ ↓ An object that is not written into any segment still carries an
- identifier, and can share it: a poem block and its verses have one
- ocn between them, the verses are written and the block itself is not.
- The block comes second, so an unguarded assignment replaced a good
- segment name with an empty one, and the link came out as
- ".xhtml#297". seg_lv4 above is guarded already, which is why this
- showed in the epub and not in the html.
+ /+ ↓ An object that is not written into a segment still carries an
+ identifier, and could share it: a poem block carried the ocn of
+ its last verse until spec:2.1, with an issue affecting epub output.
+ Since spec:2.1 the poem has no identifier; the guard stays, for any
+ object that is not in a segment.
+/
if (obj.tags.epub_segment_anchor_tag_is.length > 0) {
_tag_assoc[obj.metainfo.identifier]["seg_lv1to4"]