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

literalMidWordUnderscores changes behavior of '*' #198

Closed
twitwi opened this issue Sep 1, 2015 · 2 comments
Closed

literalMidWordUnderscores changes behavior of '*' #198

twitwi opened this issue Sep 1, 2015 · 2 comments
Assignees
Labels

Comments

@twitwi
Copy link
Contributor

twitwi commented Sep 1, 2015

This is probably not a first priority issue.

Considering the following markdown: pointer *ptr *thing​ (I'm not sure how it should be interpreted).
Toggling the literalMidWordUnderscores options unexpectedly changes the rendering:

  • without the option, stars remain un-transformed
  • with the option, stars are considered as emphasis
@tivie tivie self-assigned this Sep 2, 2015
@tivie tivie added the bug label Sep 2, 2015
@tivie
Copy link
Member

tivie commented Sep 2, 2015

Verified: http://showdownjs.github.io/demo/#/%E2%80%8Bpointer%20*ptr%20*thing

@twitwi thanks. I will look into this as soon as possible.

@twitwi
Copy link
Contributor Author

twitwi commented Sep 4, 2015

No problem, it's more something I stumbled upon in a very special situation.
Actually #196 happens more often in my use cases (but might be trickier, from my first experiments with showdownjs source code)

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

No branches or pull requests

2 participants