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

fix: Incomplete variable #420

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

devinoue
Copy link

@devinoue devinoue commented Jan 3, 2023

Problem

In examples/markdown/markdown.mjs, the Italic rule body doesn't work.

Example

Adding __Something__, meaning italic, to the markdown in examples/markdown/test/data/test.md will result in the following error

error: Uncaught ReferenceError: content is not defined
                        return ['italic', a.children.map((c) => content()).join('')];

Solution

Add c.

@pdubroy pdubroy force-pushed the main branch 4 times, most recently from ac91299 to fdddc68 Compare March 4, 2023 21:55
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

Successfully merging this pull request may close these issues.

None yet

1 participant