mirror of https://github.com/apache/lucene.git
javadocs-linter: strip whitespace when parsing links
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1334586 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
9707be81c1
commit
f846cc3260
|
@ -62,6 +62,7 @@ class FindHyperlinks(HTMLParser):
|
|||
self.anchors.add(name)
|
||||
elif href is not None:
|
||||
assert name is None
|
||||
href = href.strip()
|
||||
self.links.append(urlparse.urljoin(self.baseURL, href))
|
||||
else:
|
||||
if self.baseURL.endswith('/AttributeSource.html'):
|
||||
|
|
Loading…
Reference in New Issue