Integrated: JDK-8266779: Use <wbr> instead of ZERO_WIDTH_SPACE
Hannes Wallnöfer
hannesw at openjdk.java.net
Mon May 10 20:30:37 UTC 2021
On Mon, 10 May 2021 10:20:47 GMT, Hannes Wallnöfer <hannesw at openjdk.org> wrote:
> This replaces usages of the zero-width space character (ZWSP, entity ``) with the HTML5 `<wbr>` element. `<wbr>` acts as a word break opportunity without adding characters to the text content like ZWSP does. It is supported in all modern browsers, the only browser I know of which doesn't support is are old versions of Internet Explorer.
>
> https://developer.mozilla.org/en-US/docs/Web/HTML/Element/wbr
> https://caniuse.com/wbr-element
>
> I have tested the output (both layout and copy-paste behaviour) on Firefox, Safari, and Chrome on Mac OS X.
This pull request has now been integrated.
Changeset: 8851cb65
Author: Hannes Wallnöfer <hannesw at openjdk.org>
URL: https://git.openjdk.java.net/jdk/commit/8851cb653ff932758ef6408ff010b67200954eff
Stats: 380 lines in 25 files changed: 16 ins; 9 del; 355 mod
8266779: Use <wbr> instead of ZERO_WIDTH_SPACE
Reviewed-by: prappo
-------------
PR: https://git.openjdk.java.net/jdk/pull/3946
More information about the javadoc-dev
mailing list