Make <wbr> element void

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 17
    • Affects Version/s: 17
    • Component/s: tools
    • None

      According to https://html.spec.whatwg.org/multipage/syntax.html#elements-2 <wbr> is a void element. A void element does not have an end tag. However, jdk.javadoc.internal.doclint.HtmlTag.WBR is modelled as an element with a required end tag.

      Although it doesn't seem to cause any problems if inserted by the standard doclet (e.g. JDK-8266779), a <wbr> inserted in a doc comment causes an unwarranted doclint error "element not closed: wbr".

            Assignee:
            Jonathan Gibbons
            Reporter:
            Pavel Rappo
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: