Oh my god. <wbr> is an invention going back to Netscape 4. I have no idea how 
it came into HTML5, it has nothing to do with structuring documents in HTML 
sense, it's from the time before there was Unicode.

The correct replacement is a zero-width-space (Unicode U+200B).

AMEN!
Uwe

-----
Uwe Schindler
Achterdiek 19, D-28357 Bremen
https://www.thetaphi.de
eMail: [email protected]

> -----Original Message-----
> From: [email protected] <[email protected]>
> Sent: Wednesday, June 9, 2021 10:45 AM
> To: [email protected]
> Subject: [lucene] 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/lucene.git
> 
> 
> The following commit(s) were added to refs/heads/main by this push:
>      new 332405e  LUCENE-9995: JDK17 generates wbr tags which make
> javadocs checker angry.
> 332405e is described below
> 
> commit 332405e7ada458a4df1a1226fa97c4193d7975b1
> Author: Dawid Weiss <[email protected]>
> AuthorDate: Wed Jun 9 10:45:01 2021 +0200
> 
>     LUCENE-9995: JDK17 generates wbr tags which make javadocs checker
> angry.
> ---
>  gradle/documentation/check-broken-links/checkJavadocLinks.py | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/gradle/documentation/check-broken-links/checkJavadocLinks.py
> b/gradle/documentation/check-broken-links/checkJavadocLinks.py
> index b7efd3d..768a741 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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to