[jdk19] RFR: 8281969: Bad result for javadoc snippet (//@link) tag for White space substring/regex.
Pavel Rappo
prappo at openjdk.org
Thu Jul 14 17:58:35 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.
-------------
Commit messages:
- fix: do not filter out whitespace in links
Changes: https://git.openjdk.org/jdk19/pull/142/files
Webrev: https://webrevs.openjdk.org/?repo=jdk19&pr=142&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8281969
Stats: 39 lines in 2 files changed: 19 ins; 11 del; 9 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