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:
Ryan Ernst 2014-09-24 20:18:31 +00:00
parent 669f5b9c20
commit 3a56b1e05b
1 changed files with 3 additions and 0 deletions

View File

@ -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]