You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a weird one that stumped me when it happened randomly and even more once I tried writing examples that did reproduce the bug or didn't. When the comment is adjusted to no longer cause the issue, rewrap will actually reverse the effect and replace the null characters with spaces. Here's a variety of reproducing javadoc comments.
/** <p>{link Foo} *//** <p>{ } *//** <p>{@link} *//** <p> * {@link Foo}</p> */// Yes, an extra line makes the difference on this one!/** <p></p> * * {@link Foo} */
You can copy and paste those and run rewrap on the whole file.
The text was updated successfully, but these errors were encountered:
lgo
changed the title
Rewrap replaces spaces with null characters inside Javadoc tags in the presence of HTML tags
Rewrap replaces spaces with null characters inside Javadoc tags in the presence of HTML tags on the line
Jun 8, 2024
lgo
changed the title
Rewrap replaces spaces with null characters inside Javadoc tags in the presence of HTML tags on the line
Rewrap replaces spaces with null characters inside Javadoc tags in the presence of HTML tags on the same line
Jun 8, 2024
lgo
changed the title
Rewrap replaces spaces with null characters inside Javadoc tags in the presence of HTML tags on the same line
Rewrap replaces spaces with null characters inside Javadoc tags in the presence of opening HTML tags on the same line
Jun 8, 2024
lgo
changed the title
Rewrap replaces spaces with null characters inside Javadoc tags in the presence of opening HTML tags on the same line
Rewrap replaces spaces with null characters inside Javadoc tags in the presence of HTML tags in some situations
Jun 8, 2024
This is a weird one that stumped me when it happened randomly and even more once I tried writing examples that did reproduce the bug or didn't. When the comment is adjusted to no longer cause the issue, rewrap will actually reverse the effect and replace the null characters with spaces. Here's a variety of reproducing javadoc comments.
And for comparison, these do not reproduce.
You can copy and paste those and run rewrap on the whole file.
Here's my editor information.
VSCode version info:
Rewrap version: v1.16.3
The text was updated successfully, but these errors were encountered: