You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@solr.apache.org by dw...@apache.org on 2021/06/10 08:42:45 UTC

[solr] branch main updated: LUCENE-9995: JDK17 generates wbr tags which make javadocs checker angry.

This is an automated email from the ASF dual-hosted git repository.

dweiss pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/solr.git


The following commit(s) were added to refs/heads/main by this push:
     new 51fcedb  LUCENE-9995: JDK17 generates wbr tags which make javadocs checker angry.
51fcedb is described below

commit 51fcedb5a69c90acef245c48f17155781ae48d42
Author: Dawid Weiss <da...@carrotsearch.com>
AuthorDate: Thu Jun 10 10:42:37 2021 +0200

    LUCENE-9995: JDK17 generates wbr tags which make javadocs checker angry.
---
 dev-tools/scripts/checkJavadocLinks.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-tools/scripts/checkJavadocLinks.py b/dev-tools/scripts/checkJavadocLinks.py
index b7efd3d..768a741 100644
--- a/dev-tools/scripts/checkJavadocLinks.py
+++ b/dev-tools/scripts/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