Skip to content

HTML/JSP editor: suggestions for closing of <div> are incorrect #9816

Open

Description

@mclaborn

Apache NetBeans version

Apache NetBeans 32

What happened

Using the HTML/JSP editor, when I type an opening HTML tag (e.g. ) the editor pops up suggestions for the matching closing tag (). This seems to work correctly for all tags except

where the popup suggests . See screenshot below.

This is not a new issue - has been happening for a long time.

image

Language / Project Type / NetBeans Component

No response

How to reproduce

  1. Edit an HTML file in NB
  2. Create the basic structure (html, head, body)
  3. In the body section, type
  4. Allow the suggestions to pop up (or trigger them)
  5. The first suggestion is when it should be

Did this work correctly in an earlier version?

No / Don't know

Operating System

Xubuntu 24.04

JDK

Java: 21.0.13.0.3; OpenJDK 64-Bit Server VM 21.0.13.0.3+1-1-24.04.1-Ubuntu

Apache NetBeans packaging

Apache NetBeans binary zip

Anything else

No response

Are you willing to submit a pull request?

No

Activity

  1. added
    kind:bug
    needs:triage
    on Nov 20, 2026
  2. added
    HTML
    on Nov 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    EditorHTMLXMLkind:bugneeds:triage

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions