LUCENE-9995: JDK17 generates wbr tags which make javadocs checker angry.

This commit is contained in:
Dawid Weiss 2021-06-09 10:45:01 +02:00
parent 8bcaf87a83
commit 332405e7ad
1 changed files with 1 additions and 1 deletions

View File

@ -41,7 +41,7 @@ class FindHyperlinks(HTMLParser):
def handle_starttag(self, tag, attrs): def handle_starttag(self, tag, attrs):
# NOTE: I don't think 'a' should be in here. But try debugging # NOTE: I don't think 'a' should be in here. But try debugging
# NumericRangeQuery.html. (Could be javadocs bug, it's a generic type...) # 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) self.stack.append(tag)
if tag == 'a': if tag == 'a':
id = None id = None