Hervé Bitteur created NETBEANS-1699:
---------------------------------------

             Summary: Illegal javadoc formatting
                 Key: NETBEANS-1699
                 URL: https://issues.apache.org/jira/browse/NETBEANS-1699
             Project: NetBeans
          Issue Type: Bug
          Components: editor - Formatting & Indentation
         Environment: Windows 10 64-bit
NetBeans 8.2
            Reporter: Hervé Bitteur


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>}}
{{ {color:#FF0000}* <{color}}}
{{{color:#FF0000} * pre>{color}}}
{{ *      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.



--
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