Fix bug in HTML index generation: any index tags appearing in a
authorsimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Sat, 27 Mar 2004 09:59:41 +0000 (09:59 +0000)
committersimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Sat, 27 Mar 2004 09:59:41 +0000 (09:59 +0000)
commitce9921d6366eee6e9237e906e161e0bd220d5720
tree1f36c609fa8088f7dce76d8a5153b22cfbfdc2d1
parent16ea3abeef2cdf062cd0270d920fc5ed47f94ff9
Fix bug in HTML index generation: any index tags appearing in a
section title (which is not remotely unreasonable) got index
references added to them not only when the section title was
processed as part of its section, but also when it was processed as
part of contents navigation displays - in which situation it tended
to cause a link to, for example, the last section in the _previous_
file. Now we keep constant track of whether or not we're supposed to
be indexing things as we process text.

git-svn-id: svn://svn.tartarus.org/sgt/halibut@3991 cda61777-01e9-0310-a592-d414129be87e
bk_xhtml.c