RFR: 8321500: javadoc rejects '@' in multi-line attribute value
Hannes Wallnöfer
hannesw at openjdk.org
Thu Oct 31 15:07:30 UTC 2024
On Thu, 24 Oct 2024 13:49:50 GMT, Pavel Rappo <prappo at openjdk.org> wrote:
> Let's hope they don't start using constructs like `title="{@see`. On second thought, in that case, they can escape `@` with `@@`, provided their javadoc is reasonably modern. Consider adding a test for this.
As it turns out there are several problems with both unescaped and escaped inline tags in HTML attribute values. I filed [a JBS issue][jbs] for them. While part of the inline tag issue (reading escaped inline tags) will require fixes in `DocCommentParser.java`, it is not related to the issue addressed in this PR, so I propose to handle them separately.
[jbs]: https://bugs.openjdk.org/browse/JDK-8343393
-------------
PR Comment: https://git.openjdk.org/jdk/pull/21520#issuecomment-2450117119
More information about the compiler-dev
mailing list