Skip to content

rules.js matching heading X instead of headingX #97

@schumannd

Description

@schumannd

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions