Bug 73997 - Code Formatter mishandles <pre> and <blockquote> tags
Summary: Code Formatter mishandles <pre> and <blockquote> tags
Status: RESOLVED INVALID
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Text (show other bugs)
Version: 3.0   Edit
Hardware: PC Windows 2000
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: JDT-Text-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: needinfo
Depends on:
Blocks:
 
Reported: 2004-09-15 13:13 EDT by richard_pomeroy CLA
Modified: 2007-06-22 10:04 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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
.