-
Notifications
You must be signed in to change notification settings - Fork 519
Closed
Description
Tables aren't correctly displayed when following a <br/> tag. This only happens when they are used after the description block (inside the description of @param, @return, etc.)
Environment
- Operating System: Windows 10
- JDK version: 13.0.1
- Visual Studio Code version: 1.41.0
- Java extension version: 0.54.2
Steps To Reproduce
- The code below generates Javadoc that shows the issue:
/**
* Tables work as expected here: <br/><table><tr><td>One</td><td>Two</td></tr></table>
* @param param Tables broken here:<br/><table><tr><td>One</td><td>Two</td></tr></table>
* @return without a line break it's fine: <table><tr><td>One</td><td>Two</td></tr></table>
* @see this one's broken too: <br/> <table><tr><td>One</td><td>Two</td></tr></table>
*/
public Object method(Object param){
return null;
}
Current Result
For some libraries that can turn really ugly:

Expected Result
Removing the <br/> tag before the tables fixes the display again:

Reactions are currently unavailable
