I'm using Eclipse 3.4 and have configured the Java code formatter with all of the options on the Comments tab enabled. The problem is that when I format a document comment that contains:
* @see <a href="test.html">test</a>
the code formatter inserts a space in the closing HTML, breaking it:
* @see <a href="test.html">test< /a>
Why? How do I stop this happening?
This is not fixed by disabling any of the options on the Comments tab, such as Format HTML tags. The only work-around I found is to disable Javadoc formatting completely by disabling both the Enable Javadoc comment formatting and Enable block comment formatting options, which means I then have to format comment blocks manually.