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

javadoc formatting wraps <pre> tag

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 12.0
    • None
    • None

    Description

      The formatter wraps my <pre> tags within my javadocs. I have a Javadoc like

       

      /**
       * <p>
       * <pre>
       * {@code
       *    //some code
       * }
       * </pre>
      *
      */

      formatting this fil results in

      /**
       * <p>
       * <
       *  pre>                                <------ problem
       * {@code
       *    //some code
       * }
       * </pre>
      *
      */

      The problem seems only to occur if <pre> is preceded by <p>.

      This problem occurs even if only enable comments formatting is switched on and the rest is off.

      Attachments

        Issue Links

          Activity

            People

              jherkel Jakub Herkel
              wumpz Tobias Warneke
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: