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

Emphasis does not parse properly at line endings in headings #358

Closed
Witiko opened this issue Oct 13, 2023 · 0 comments · Fixed by #360
Closed

Emphasis does not parse properly at line endings in headings #358

Witiko opened this issue Oct 13, 2023 · 0 comments · Fixed by #360
Assignees
Labels
bug commonmark Related to making the syntax of markdown follow the CommonMark spec
Milestone

Comments

@Witiko
Copy link
Owner

Witiko commented Oct 13, 2023

Emphasis does not seem to properly parse at line endings inside atx/setext headings:

# _foo_
## foo _bar_
## foo *bar*
## foo _bar_  bar

foo _bar_
---------
foo *bar*
---------
foo _bar_ bar
-------------

image

@Witiko Witiko added bug commonmark Related to making the syntax of markdown follow the CommonMark spec labels Oct 13, 2023
@Witiko Witiko added this to the 3.2.0 milestone Oct 13, 2023
@Witiko Witiko changed the title Emphasis parse at line ends in headings Emphasis does not parse properly at line endings in headings Oct 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug commonmark Related to making the syntax of markdown follow the CommonMark spec
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants