Commit c005510e authored by Miguel Angel Reina Ortega's avatar Miguel Angel Reina Ortega
Browse files

remove duplicates

parent a5c78e7a
Loading
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -358,6 +358,8 @@ class Document:
					# Replace the old link targets with converted 
					# (lower case) versions that point to the output files
					printDebug(f'Found Markdown links in clause "{clause.title}": {links}')
					# Remove duplicate matches in links list
					links = list(set(links))
					for lnk in links:
						_lnk =lnk.casefold()
						if _lnk in linkTargets: