Skip to content

Issue with text after link #1

Description

@mhuzaifa125

int closeParen = markdown.indexOf(")", openParen);

Text after a link in first line, caused infinite loop
Fixed by adding an if statement that checks if nextOpenBracket or nextCloseBracket are -1, breaks if condition passes

Enter after line 23

if(nextOpenBracket == -1 || nextCloseBracket == -1) {
        break;
}

Screen Shot 2022-02-17 at 4 24 58 PM

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions