Skip to content

StringIndexOutOfBoundsException #198

@havrikov

Description

@havrikov

When parsing the attached file a StringIndexOutOfBoundsException is thrown.
flexmark_sioobe.zip
Kotlin code to reproduce assuming the string x contains the file contents:
Parser.builder().extensions(listOf(AbbreviationExtension.create())).build().parse(x)

Should the input be invalid Markdown, an IllegalArgumentException is more appropriate.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions