> Please review a change to remove incidental whitespace commonly found at the > beginning of `<pre><code>` or `<pre>{@code` tags. This patch is dependent on > [JDK-8352249](https://bugs.openjdk.org/browse/JDK-8352249) and completes the > removal of incidental whitespace in traditional doc comments. > > This is implemented by parsing content of `<pre>` elements into a separate > list buffer in `DocCommentParser`, and filter the content for leading blank > linkes when the element is closed. The decision to filter `<pre>` element > contents only once the element is closed was made in order to be able to keep > the logic in a single method without further complicating other parts of > `DocCommentParser`.
Hannes Wallnöfer has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. ------------- Changes: - all: https://git.openjdk.org/jdk/pull/24112/files - new: https://git.openjdk.org/jdk/pull/24112/files/e3ded45f..e3ded45f Webrevs: - full: https://webrevs.openjdk.org/?repo=jdk&pr=24112&range=01 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=24112&range=00-01 Stats: 0 lines in 0 files changed: 0 ins; 0 del; 0 mod Patch: https://git.openjdk.org/jdk/pull/24112.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/24112/head:pull/24112 PR: https://git.openjdk.org/jdk/pull/24112