Apache Lucene open-source search software
javadocs-linter: strip whitespace when parsing links
Michael McCandlessf846cc3260d1
diff --git a/dev-tools/scripts/checkJavadocLinks.py b/dev-tools/scripts/checkJavadocLinks.pyindex 751794fb3f3..ea1be093949 100644--- a/dev-tools/scripts/checkJavadocLinks.py+++ b/dev-tools/scripts/checkJavadocLinks.py@@ -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'):