mirror of https://github.com/apache/lucene.git
Account for whitespace in the middle of links when checking javadoc links
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1627410 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
669f5b9c20
commit
3a56b1e05b
|
@ -177,6 +177,9 @@ def checkAll(dirName):
|
|||
else:
|
||||
anchor = None
|
||||
|
||||
# remove any whitespace from the middle of the link
|
||||
link = ''.join(link.split())
|
||||
|
||||
idx = link.find('?')
|
||||
if idx != -1:
|
||||
link = link[:idx]
|
||||
|
|
Loading…
Reference in New Issue