pylookup: Set one_entry to false after each element
Fix for bug: extraneous links registered for last entry in index. For instance, for python documentation index, all links in footer would get attached to `zlib`.
This commit is contained in:
parent
01e588c5f0
commit
a3d8df9244
|
@ -157,6 +157,8 @@ class IndexProcessor(HTMLParser):
|
|||
def handle_endtag(self, tag):
|
||||
if tag == 'dd':
|
||||
self.list_entry = False
|
||||
if tag == 'dt':
|
||||
self.one_entry = False
|
||||
|
||||
def handle_data(self, data):
|
||||
if self.tag == 'a':
|
||||
|
|
Loading…
Reference in a new issue