[jdk19] RFR: 8281969: Bad result for the snippet @link tag if substring/regex consists of whitespace [v4]

Pavel Rappo prappo at openjdk.org
Thu Jul 14 21:05:56 UTC 2022


> This PR fixes how links inside a snippet treat whitespace.
> 
> During the development of the "Snippets" feature, the concern was about presentation of links that contain leading or trailing whitespace. For that reason, any such whitespace was trimmed. I think it's now reasonable to simplify code and say that any such presentation concerns should be solved with presentation tools, such as CSS.

Pavel Rappo has updated the pull request incrementally with one additional commit since the last revision:

  test: add regex case

-------------

Changes:
  - all: https://git.openjdk.org/jdk19/pull/142/files
  - new: https://git.openjdk.org/jdk19/pull/142/files/6b527778..a279737b

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk19&pr=142&range=03
 - incr: https://webrevs.openjdk.org/?repo=jdk19&pr=142&range=02-03

  Stats: 10 lines in 1 file changed: 10 ins; 0 del; 0 mod
  Patch: https://git.openjdk.org/jdk19/pull/142.diff
  Fetch: git fetch https://git.openjdk.org/jdk19 pull/142/head:pull/142

PR: https://git.openjdk.org/jdk19/pull/142


More information about the javadoc-dev mailing list