-
Notifications
You must be signed in to change notification settings - Fork 78
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix IOOB exception in Javadoc hover (#1395)
- modify the logic for <pre>{@code that handles the case where the code has } in it so that it only looks for }</pre> when the pre counter matches and also add a check to ensure that the IOOB exception cannot happen - add new test to JavadocHoverTests with an invalid <pre> which forces a }</pre> to occur without a <pre>{@code - fixes #1394
- Loading branch information
Showing
2 changed files
with
69 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters