Bug 66649

Summary: javadoc formatter adds extra lines in <pre> block
Product: [Eclipse Project] JDT Reporter: Tim Ellison <t.p.ellison>
Component: TextAssignee: JDT-Text-Inbox <jdt-text-inbox>
Status: RESOLVED DUPLICATE QA Contact:
Severity: major    
Priority: P3    
Version: 3.0   
Target Milestone: ---   
Hardware: PC   
OS: Windows 2000   
Whiteboard:
Attachments:
Description Flags
Preferences file containing formatting options. none

Description Tim Ellison CLA 2004-06-11 07:53:32 EDT
3.0RC01

The following JavaDoc comment:
/**
 * <pre>
 * one line
 * </pre>
 */

when formatted using the code formatter becomes:
/**
 * <pre>
 * 
 *  one line
 *  
 * </pre>
 */

and so on, gaining a new blank line each time it is formatted:

/**
 * <pre>
 * 
 *  
 *   one line
 *   
 *  
 * </pre>
 */
Comment 1 Tim Ellison CLA 2004-06-14 12:27:21 EDT
Still occurs on 3.0 RC2
I'll attach my preferences in case that helps.  This is causing problems in our 
product release since it is destroying the javadoc layout.
Comment 2 Tim Ellison CLA 2004-06-14 12:29:14 EDT
Created attachment 12043 [details]
Preferences file containing formatting options.
Comment 3 Dani Megert CLA 2004-06-15 03:18:52 EDT

*** This bug has been marked as a duplicate of 52921 ***