-
-
Notifications
You must be signed in to change notification settings - Fork 368
Closed
Labels
remark-parse🐛 type/bugThis is a problemThis is a problem👶 semver/patchThis is a backwards-compatible fixThis is a backwards-compatible fix💪 phase/solvedPost is donePost is done🗄 area/interfaceThis affects the public interfaceThis affects the public interface
Description
Subject of the issue
Inline code value
incorrectly parsed for
`
a
`
I didn't found the spec, but commonmark
parse value as "a"
, remark parse value as " a"
, github also render as "a"
.
This is not a place to ask questions. For that, go to spectrum
Your environment
- OS: windows
- Packages:
[email protected]
- Env: yarn node@12
Steps to reproduce
require('unified')().use(require('remark-parse')).parse('`\n a\n`').children[0].children[0].value
Expected behaviour
the value of inlineCode
node be "a"
Actual behaviour
the value of inlineCode
node is " a"
More info prettier/prettier#8140 (comment)
wooorm and sarayourfriend
Metadata
Metadata
Assignees
Labels
remark-parse🐛 type/bugThis is a problemThis is a problem👶 semver/patchThis is a backwards-compatible fixThis is a backwards-compatible fix💪 phase/solvedPost is donePost is done🗄 area/interfaceThis affects the public interfaceThis affects the public interface