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

JSX blocks miss components with numbers #308

Closed
johno opened this issue Nov 9, 2018 · 1 comment
Closed

JSX blocks miss components with numbers #308

johno opened this issue Nov 9, 2018 · 1 comment
Labels
🐛 type/bug This is a problem

Comments

@johno
Copy link
Member

johno commented Nov 9, 2018

Subject of the issue

When a JSX block is opened up with a component that has a number in it, we fail to recognize it as a jSX block properly.

# Hello, world!

<Alt2 />

This is likely due to BLOCKS_REGEX not accounting for numbers, which is used to determine JSX blocks.

Expected behaviour

Alt2 should be rendered as JSX.

Actual behaviour

It's parsed as a paragraph.

@johno
Copy link
Member Author

johno commented Feb 14, 2019

No longer the case, was fixed a while back and I forgot to close this.

@johno johno closed this as completed Feb 14, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 type/bug This is a problem
Development

No branches or pull requests

1 participant