Uploaded image for project: 'NetBeans'
  1. NetBeans
  2. NETBEANS-1699

Illegal javadoc formatting

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • None
    • None
    • None
    • Windows 10 64-bit
      NetBeans 8.2

    Description

      Let's assume Java formatting is defined so that javadoc is formatted.

      To do so, navigate to Options | Formatting, and in Language: Java, Category: Comments, verify that "Enable Comments Formatting" is checked.

      /**
       * Some text here.
       * <p>
       * <pre>
       *      Some indented text
       * </pre>
       */

      gets formatted as:

      /**
       * Some text here.
       * <p>
       * <
       * pre>
       *      Some indented text
       * </pre>
       */

      I noticed that the "<pre>" tag, when immediately located after a line with "<p>" tag, gets corrupted, and is thus no longer a legal tag.

      I tried many combinations, this bug occurred only after a "<p>" tag, nothing else.

      Attachments

        Issue Links

          Activity

            People

              jherkel Jakub Herkel
              hbitteur Hervé Bitteur
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: