Skip to content
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

rules.js matching heading X instead of headingX #97

Open
schumannd opened this issue May 23, 2018 · 0 comments
Open

rules.js matching heading X instead of headingX #97

schumannd opened this issue May 23, 2018 · 0 comments

Comments

@schumannd
Copy link

schumannd commented May 23, 2018

In this line, there is a space that should not be there. I guess the bug was introduced in a refactoring after the package was released, without testing the code again.

I only stumbled upon it in my quest to fork this repository and use the latest simple-markdown version which fixes #92

const stylesToApply = [styles.heading, styles[`heading ${node.level}`]]

I have included a fix to this in my PR #93

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant