RFR: JDK-8326332: Unclosed inline tags cause misalignment in summary tables

Guoxiong Li gli at openjdk.org
Fri Mar 8 15:34:54 UTC 2024


On Fri, 8 Mar 2024 11:09:50 GMT, Hannes Wallnöfer <hannesw at openjdk.org> wrote:

>> test/langtools/jdk/javadoc/doclet/testBreakIterator/TestBreakIterator.java line 83:
>> 
>>> 81:                 """
>>> 82:                     <div class="block">Inline tags <i><a href="../index-all.html">extending
>>> 83:                      beyond the first sentence.</a></i></div>""");
>> 
>> I have a question:
>> Why doesn't it include ` Tags are closed here`? Is it intentional or a bug?
>
> This piece of HTML is from the method summary table which only displays the first sentence of the doc comment (which is the root of the problem fixed by this PR).

Got it. Thanks for your answer.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/18154#discussion_r1517872886


More information about the javadoc-dev mailing list