-
-
Notifications
You must be signed in to change notification settings - Fork 372
Inline code value incorrectly parsed #494
Copy link
Copy link
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:
remark@8.0.2 - Env: yarn node@12
Steps to reproduce
require('unified')().use(require('remark-parse')).parse('`\n a\n`').children[0].children[0].valueExpected behaviour
the value of inlineCode node be "a"
Actual behaviour
the value of inlineCode node is " a"
More info prettier/prettier#8140 (comment)
Reactions are currently unavailable
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