diff options
| author | Ralph Amissah <ralph.amissah@gmail.com> | 2026-07-30 23:19:11 -0400 |
|---|---|---|
| committer | Ralph Amissah <ralph.amissah@gmail.com> | 2026-07-31 14:06:50 -0400 |
| commit | 5193814934f6cd64ed5554fa262ec579fbef1ab0 (patch) | |
| tree | 9e32157f1fc04020ee6e8eec248578fb24e15a7b /org | |
| parent | change search result symbols for show index & text (diff) | |
digest (sha256) for document root heading (title)
corrects an omission this hould have been included to start with
reference tests texts regenerated
Diffstat (limited to 'org')
| -rw-r--r-- | org/ocda.org | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/org/ocda.org b/org/ocda.org index d5651cc..c806c1e 100644 --- a/org/ocda.org +++ b/org/ocda.org @@ -1352,6 +1352,9 @@ if (the_document_body_section.length > 1) { } foreach (ref obj; the_document_head_section) { if (obj.metainfo.is_a == "heading") { + if (obj.metainfo.heading_lev_markup == 0) { // sha for document root heading, caught here, should have been done earlier + obj.metainfo.sha256 = obj.obj_digest; + } foreach (pair; pairs) { if (obj.metainfo.ocn == pair[0]) { obj.metainfo.last_descendant_ocn = pair[1]; |
