Make sure the test cheks for issue 688

This commit is contained in:
Veronica K. B. Olsen
2021-02-23 22:07:14 +01:00
parent fe04c1af25
commit b9d344c7d9
2 changed files with 16 additions and 4 deletions
+1 -1
View File
@@ -717,7 +717,7 @@ class NWIndex():
for refTitle in self._refIndex[tHandle]:
for aTag in self._refIndex[tHandle][refTitle].get("tags", []):
if len(aTag) == 3 and (sTitle is None or sTitle == refTitle):
if aTag[1] in theRefs: # Future-compatible. Check can be removed in 1.2.
if aTag[1] in theRefs:
theRefs[aTag[1]].append(aTag[2])
return theRefs