-
Notifications
You must be signed in to change notification settings - Fork 228
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
Parsing inline code span with a single newline loses the newline #655
Labels
Comments
mgeisler
changed the title
Parsing `
Parsing inline code span with a single newline loses the newline
Jun 3, 2023
"
\n"
` loses the newline
I will check this for the next release, thanks for reporting it. |
Thanks for taking a look! |
This was referenced Jun 8, 2023
Check if fixed by #776. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
According to the Commonmark playground and the Commonmark spec, the string
"`\n`"
should be parsed into
since newline is normalized as a space.
However, when parsing the string with pulldown-cmark 0.9.3, I get
instead. I used this little test program:
Note that
"`foo\n`"
and"`\nfoo`"
are parsed correctly with a trailing and leading space, respectively.I found this while trying round-trip strings through pulldown-cmark-to-cmark (Byron/pulldown-cmark-to-cmark#55).
The text was updated successfully, but these errors were encountered: