Closed ChristianMurphy closed 3 years ago
text\\\\\ text
is stringified as:
text\\\\ text
which changes the structure
parse
which has the structure
{ "type": "root", "children": [ { "type": "paragraph", "children": [ { "type": "text" }, { "type": "break" }, { "type": "text" } ] } ] }
and stringify it:
the resulting markdown has a different structure than the original
{ "type": "root", "children": [ { "type": "paragraph", "children": [ { "type": "text" } ] } ] }
: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.
structure is the same
structure is different
related to #19 but being space related rather than inline block related may mean it has a different cause.
Yup, was GH-19.
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