Bug 73997

Summary: Code Formatter mishandles <pre> and <blockquote> tags
Product: [Eclipse Project] JDT Reporter: richard_pomeroy
Component: TextAssignee: JDT-Text-Inbox <jdt-text-inbox>
Status: RESOLVED INVALID QA Contact:
Severity: normal    
Priority: P3 Keywords: needinfo
Version: 3.0   
Target Milestone: ---   
Hardware: PC   
OS: Windows 2000   
Whiteboard:

Description richard_pomeroy CLA 2004-09-15 13:13:56 EDT
When the code formatter is set to format comments it reformats entries within 
the <pre> and <blockquote> tags. This means carefully formatted entries such as 
the one below are changed as shown.

/**
 * Blah...
 * <PRE>
 * Carefully formatted stuff here
 *    That is meant to look just like
 *       This in the resulting JavaDoc.
 * </PRE>
 * Did that work?
 */

Gets converted to:

/**
 * Blah...
 * 
 * <PRE>
 * 
 * Carefully formatted stuff here That is meant to look just like This in the
 * resulting JavaDoc.
 * 
 * </PRE>
 * 
 * Did that work?
 */

I have Enabled Comment formatting, Format Header Comment, Format HTML tags and 
Format Java Code Snippets checked, but have tried various combinations to try 
to fix the reformatting problem. Nothing seems to work.
Comment 2 Dani Megert CLA 2004-09-16 08:27:35 EDT
.
Comment 3 Dani Megert CLA 2007-06-22 09:59:13 EDT
Get rid of deprecated state.
Comment 4 Dani Megert CLA 2007-06-22 10:04:30 EDT
.