[ 
https://issues.apache.org/jira/browse/NETBEANS-4578?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Tobias Warneke updated NETBEANS-4578:
-------------------------------------
    Description: 
The formatter wraps my <pre> tags within my javadocs. I have a Javadoc like

 
{code:java}
/**
 * <p>
 * <pre>
 * {@code
 *    //some code
 * }
 * </pre>
*
*/{code}
formatting this fil results in
{code:java}
/**
 * <p>
 * <
 *  pre>                                <------ problem
 * {@code
 *    //some code
 * }
 * </pre>
*
*/{code}
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.

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

 
{code:java}
/**
* <pre>
 * {@code
 *    //some code
 * }
 * </pre>
*
*/{code}
formatting this fil results in
{code:java}
/**
* <
*  pre>                                <------ problem
 * {@code
 *    //some code
 * }
 * </pre>
*
*/{code}
 

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


> javadoc formatting wraps <pre> tag
> ----------------------------------
>
>                 Key: NETBEANS-4578
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-4578
>             Project: NetBeans
>          Issue Type: Bug
>          Components: editor - Formatting &amp; Indentation
>    Affects Versions: 12.0
>            Reporter: Tobias Warneke
>            Priority: Major
>
> The formatter wraps my <pre> tags within my javadocs. I have a Javadoc like
>  
> {code:java}
> /**
>  * <p>
>  * <pre>
>  * {@code
>  *    //some code
>  * }
>  * </pre>
> *
> */{code}
> formatting this fil results in
> {code:java}
> /**
>  * <p>
>  * <
>  *  pre>                                <------ problem
>  * {@code
>  *    //some code
>  * }
>  * </pre>
> *
> */{code}
> 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.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

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

Reply via email to