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

Incorrect parsing of emphasis around numbers? #1297

Closed
jackschaedler opened this issue Jun 27, 2018 · 3 comments
Closed

Incorrect parsing of emphasis around numbers? #1297

jackschaedler opened this issue Jun 27, 2018 · 3 comments
Labels
L1 - broken Valid usage causes incorrect output OR a crash AND there is no known workaround for the issue

Comments

@jackschaedler
Copy link

jackschaedler commented Jun 27, 2018

Description
Emphasis (asterisks) around two different numbers on a single line seems to produce incorrect HTML.

To Reproduce

  1. Marked Demo
  2. CommonMark Demo

Expected behavior
Expect to see the commonmark output.

@jackschaedler
Copy link
Author

Thanks for such a wonderful library! Feel free to disregard if this is intended behavior, but the inconsistency with the CommonMark demo made me think it was worth it to create an issue.

@UziTech UziTech added the L1 - broken Valid usage causes incorrect output OR a crash AND there is no known workaround for the issue label Jun 27, 2018
@UziTech
Copy link
Member

UziTech commented Jun 27, 2018

This is definitely a bug. Thanks for reporting this @jackschaedler.

If you would like to submit a PR that fixes this, you could get the defibrillator badge and really help us out.

@jackschaedler
Copy link
Author

I can maybe take a look next week; will keep you posted!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
L1 - broken Valid usage causes incorrect output OR a crash AND there is no known workaround for the issue
Projects
None yet
Development

No branches or pull requests

2 participants