Bug 116443

Summary: Invalid formatting of javadoc with <pre> tag
Product: [Eclipse Project] JDT Reporter: Dmitry Shport <dmitry.shport>
Component: CoreAssignee: JDT-Core-Inbox <jdt-core-inbox>
Status: VERIFIED DUPLICATE QA Contact:
Severity: normal    
Priority: P3    
Version: 3.1.1   
Target Milestone: 3.2.2   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Dmitry Shport CLA 2005-11-15 10:26:30 EST
This problem is both in Eclipse 3.0 and 3.1 versions.
If there is a <pre> tag in javadoc comment (method or type) formatter inserts 
new spaces/indent on each invocation.
This happens if the line (within <pre>) tag contains more than 1 word.

1st invocation:
/**
 * <pre>
 * One Two 
 * </pre>
 */

2nd invocation:
/**
 * <pre>
 *  One Two 
 * </pre>
 */

3rd invocation:
/**
 * <pre>
 *   One Two 
 * </pre>
 */
Comment 1 Olivier Thomann CLA 2005-11-15 10:30:32 EST

*** This bug has been marked as a duplicate of 99738 ***
Comment 2 Maxime Daniel CLA 2007-01-15 23:58:41 EST
Verified for 3.2.2 using build M20070112-1200.
Comment 3 Eric Jodet CLA 2007-02-06 02:25:04 EST
Verified for 3.3 M5 using build I20070205-0009