Apache Lucene open-source search software
LUCENE-9995: JDK17 generates wbr tags which make javadocs checker angry.
Dawid Weiss332405e7ada4
diff --git a/gradle/documentation/check-broken-links/checkJavadocLinks.py b/gradle/documentation/check-broken-links/checkJavadocLinks.pyindex b7efd3d14f3..768a74195e4 100644--- a/gradle/documentation/check-broken-links/checkJavadocLinks.py+++ b/gradle/documentation/check-broken-links/checkJavadocLinks.py@@ -41,7 +41,7 @@ class FindHyperlinks(HTMLParser):def handle_starttag(self, tag, attrs):# NOTE: I don't think 'a' should be in here. But try debugging# NumericRangeQuery.html. (Could be javadocs bug, it's a generic type...)- if tag not in ('link', 'meta', 'frame', 'br', 'hr', 'p', 'li', 'img', 'col', 'a', 'dt', 'dd'):+ if tag not in ('link', 'meta', 'frame', 'br', 'wbr', 'hr', 'p', 'li', 'img', 'col', 'a', 'dt', 'dd'):self.stack.append(tag)if tag == 'a':id = None