From: Jeremy Harris Date: Thu, 28 Jul 2022 23:12:52 +0000 (+0100) Subject: Fix indexing for varlistent when not within a section X-Git-Url: https://git.exim.org/exim-website.git/commitdiff_plain/8160fdcca002060881dbc5c584b46e06323bca3d Fix indexing for varlistent when not within a section --- diff --git a/script/gen b/script/gen index 747c448..58e399e 100755 --- a/script/gen +++ b/script/gen @@ -418,7 +418,7 @@ sub build_indexes { } $xref->{$anchorname}{'chapter_title'} = $chapter_title; - $xref->{$anchorname}{'section_id'} = $sec_id if ($sec_id); + $xref->{$anchorname}{'section_id'} = $anchorname; $xref->{$anchorname}{'section_title'} = $sec_title if ($sec_title); } }