On Mon, 17 Nov 2025 15:20:28 GMT, Hannes Wallnöfer <[email protected]> wrote:
> Please review a simple change to allow fragments of snippet content to act
> both as link and highlighted text. Previously, only the link was generated
> while the highlight was ignored.
>
> We also change snippet links to use the aequivalent of `{@linkplain}` instead
> of `{@link}` because the `<code>` element in `{@link}` markup is redundant in
> snippet content which is already inside a `<code>` element. `{@link}` also
> creates `PREVIEW` superscript flags which are likely to be disruptive in
> example code.
Marked as reviewed by liach (Reviewer).
-------------
PR Review: https://git.openjdk.org/jdk/pull/28354#pullrequestreview-3479004497