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

Doccheck: warning about missing </span> before <h2>

XMLWordPrintable

    • master

        An `h2` tag is used inside the `@param` text here: https://github.com/openjdk/jdk/blob/f6e7713bb653811423eeb2515c2f69b437750326/src/jdk.incubator.vector/share/classes/jdk/incubator/vector/VectorMask.java#L114

        javadoc wraps everything under `@param` in a `<span>`, so having an `h2` tag there trips some of our tests that use html validators. I believe you shouldn't have an `<h2>` inside of a span.

        Maybe we should remove the `h2` and replace it with `strong`

              nbenalla Nizar Benalla
              nbenalla Nizar Benalla
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: