Community
Participate
Working Groups
The code formatter's new and very nice comment formatter for 3.0.0 and 3.0.1 has a problem with formatting <pre></pre> HTML tags when there is more than a single non-blank line within the tags. Everytime the code formatter is run a single line is added after <pre> and another new line is added prior to </pre>. Additionally, a single space of indentation is added to the lines within the <pre> tags. Example: <pre> This theorem is based on 4 points: - a - b - c - d </pre> results in the following after 4 formatting runs: <pre> This theorem is based on 4 points: - a - b - c - d </pre> A single non-blank line results in desired behavior, it is when there are multiple line that this bug occurs. I am currently using 3.0.1, and though I use my own formatter setup, I have tested this bug on the Java Conventions formatting with the same result. Thanks, Justin PS: The 3.0 formatter is a great inprovement over 2.1!! Good work.
Move to JDT/Text
*** This bug has been marked as a duplicate of 52921 ***