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

Specific character combination not rendered correctly #1178

Closed
daneah opened this issue Mar 28, 2018 · 2 comments · Fixed by #1181
Closed

Specific character combination not rendered correctly #1178

daneah opened this issue Mar 28, 2018 · 2 comments · Fixed by #1181

Comments

@daneah
Copy link

daneah commented Mar 28, 2018

Marked version: 0.3.19

Markdown flavor: n/a

Expectation

marked('_in_') would be rendered as <p><em>in</em></p>.

Result

marked('_in_') is rendered as <p>_in_</p>.

What was attempted

marked('_in_')

Other combinations of marked('_some string_') appear to work as expected (certainly didn't run an exhaustive check).

@UziTech
Copy link
Member

UziTech commented Mar 28, 2018

looks like it has to do with the number of characters in between the underscores.

I'm tagging in @Feder1co5oave. Is there any reason <= 2 characters between underscores is not rendered inside <em>?

@UziTech UziTech mentioned this issue Mar 28, 2018
4 tasks
@daneah
Copy link
Author

daneah commented Mar 28, 2018

Oh jeez, sorry I missed that obvious generalization of the nature of the bug. Just tried out other one/two character combos and I concur that's the issue. Thanks @UziTech !

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 a pull request may close this issue.

2 participants