forked from ucsd-cse15l-w22/markdown-parse
-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
Failure inducing input:
[hi.](something.com)
Check for square brackets before adding the period into periodList.
markdown-parse/MarkdownParse.java
Lines 17 to 22 in 04f7eae
| if(nextPeriodIndex != -1) { | |
| periodList.add(nextPeriodIndex); | |
| currentIndex = nextPeriodIndex; | |
| } else { | |
| break; | |
| } |
In the output, "hi." appeared as a link but was supposed to be the link text.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
