mirror of https://github.com/apache/lucene.git
LUCENE-9995: JDK17 generates wbr tags which make javadocs checker angry.
This commit is contained in:
parent
8bcaf87a83
commit
332405e7ad
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue