Closed ChristianMurphy closed 3 years ago
Hmm. Complex.
Inline code is rather fragile when it comes to block markers after newlines:
`
# `
`
1. `
`
1) `
`
+ `
`
- `
`
* `
`
<div `
`
= `
`
> `
Yields:
`
`
1)
`
`
`
<div
=
`
`
Maybe, when a newline is found, we can use the unsafe patterns’s atBreak
s, and use a space instead of a line endings?
Subject of the issue
is stringified as:
which changes the structure
Your environment
Steps to reproduce
parse
which has the structure
and stringify it:
the resulting markdown has a different structure than the original
:notebook: comparing how the two pieces of markdown text are being parsed with https://spec.commonmark.org/dingus it appears in both cases it is parsed as expected.
Expected behavior
structure is the same
Actual behavior
structure is different