Ognyan Kulev created NETBEANS-469:
-------------------------------------

             Summary: Tag <pre> become invalid after formatting in JavaDoc
                 Key: NETBEANS-469
                 URL: https://issues.apache.org/jira/browse/NETBEANS-469
             Project: NetBeans
          Issue Type: Bug
          Components: editor - Formatting &amp; Indentation
    Affects Versions: 9.0
         Environment: Product Version = Apache NetBeans IDE Dev (Build 
incubator-netbeans-release-205-on-20180202)
Operating System = Linux version 4.9.0-6-amd64 running on amd64
Java; VM; Vendor = 1.8.0_151
Runtime = OpenJDK 64-Bit Server VM 25.151-b12
            Reporter: Ognyan Kulev


Let's have the following JavaDoc for a class:

{{/**}}
{{ * Description.}}
{{ * <p>}}
{{ * <pre>}}
{{ * sample code}}
{{ * </pre>}}
{{ */}}

After formatting the source with Alt-Shift-F, the <pre> tag become invalid:

{{ /**}}
{{ * Description.}}
{{ * <p>}}
{{ * <}}
{{ * pre>}}
{{ * sample code}}
{{ * </pre>}}
{{ */}}

Not only <pre> is no longer recognized tag, but subsequent formatting with 
Alt-Shift-F breaks indentation in the sample code.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to