You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Ognyan Kulev (JIRA)" <ji...@apache.org> on 2018/03/15 08:09:00 UTC

[jira] [Created] (NETBEANS-469) Tag
 become invalid after
 formatting in JavaDoc

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: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org

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