Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8081011

incorrect processing of certain <ul> tags

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P4 P4
    • tbd
    • 9
    • tools

      example:

      source file -
      langtools/src/jdk.compiler/share/classes/com/sun/source/tree/LambdaExpressionTree.java

      source code:

      public interface LambdaExpressionTree extends ExpressionTree {

          /**
           * Lambda expressions come in two forms:
           * <ul compact>
           * <li> expression lambdas, whose body is an expression, and
           * <li> statement lambdas, whose body is a block
           * </ul>
           */
          @jdk.Exported
          public enum BodyKind {
      ...

      corresponding html (images/docs/jdk/api/javac/tree/com/sun/source/tree/LambdaExpressionTree.html):

      <h3>Nested Class Summary</h3>
      <table class="memberSummary" summary="Nested Class Summary table, listing nested classes, and an explanation">
      <caption><span>Nested Classes</span><span class="tabEnd">&nbsp;</span></caption>
      <tr>
      <th class="colFirst" scope="col">Modifier and Type</th>
      <th class="colLast" scope="col">Interface and Description</th>
      </tr>
      <tr class="altColor">
      <td class="colFirst"><code>static class&nbsp;</code></td>
      <td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/sun/source/tree/LambdaExpressionTree.BodyKind.html" title="enum in com.sun.source.tree">LambdaExpressionTree.BodyKind</a></span></code>
      <div class="block">Lambda expressions come in two forms:
       <ul compact>
        expression lambdas, whose body is an expression, and
        statement lambdas, whose body is a block
       </div>
      </td>


      resulting Tidy warnings:

      line 153 column 2 - Warning: missing <li>
      line 150 column 2 - Warning: missing </ul> before </div>

            Unassigned Unassigned
            avstepan Alexander Stepanov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: