RFR: JDK-8301201: Allow \n@ inside inline tags using inlineContent

Jonathan Gibbons jjg at openjdk.org
Fri Jan 27 18:48:56 UTC 2023


Please review a simple change to allow the use of _newline_ _whitespace_ `@` inside inline tags that allow rich content (that is, those parsed with `inlineContent`) as compared to those that only allow plain text (that is, those parsed with `inlineText`).

The fix is to delete the code which recognizes `@` as the beginning of a block tag. Compare to the similar fix in [JDK-8241780](https://bugs.openjdk.org/browse/JDK-8241780)

The general `TagTest.java` is updated for the new feature.

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

Commit messages:
 - JDK-8301201: Allow \n@ inside inline tags using inlineContent

Changes: https://git.openjdk.org/jdk/pull/12264/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=12264&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8301201
  Stats: 47 lines in 3 files changed: 37 ins; 5 del; 5 mod
  Patch: https://git.openjdk.org/jdk/pull/12264.diff
  Fetch: git fetch https://git.openjdk.org/jdk pull/12264/head:pull/12264

PR: https://git.openjdk.org/jdk/pull/12264


More information about the compiler-dev mailing list