Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GitHub Flavored Markdown extensions #44

Open
wants to merge 8 commits into
base: master
Choose a base branch
from

Conversation

bstefanescu
Copy link

GitHub Flavored Markdown extensions

  1. Add GFM extensions not already covered by txtmark:

    See com.github.rjeschke.txtmark.GFMTest class for unit testing.

  2. Bug fixing:
    StringIndexOutOfBoundsException exceptions are thrown when parsing the following content:

    • <\n lines. Example:
          <
          < some text
    

    The <\n line will trigger an exception

    • Broken link definitions (i.e. empty URLs) like [broken]: \n.

      Note that processing the line [broken]:\n does not throw an exception but if you add a space at the end of the line: [broken]: \n then processing will fail with a StringIndexOutOfBoundsException.

    Tests were added in Amps and angle encoding.text

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant