-
-
Notifications
You must be signed in to change notification settings - Fork 107
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
Issue With Self-closing Tags In JSX and <br> In Markdown Content #56
Comments
I'm still learning more about React, but I think this is a JSX/MDX problem with self-closing tags. To test, I'd have to try |
indeed, MDX uses a mix of markdown and JSX to render content so if you use It works locally but if you go to the article, it should break as well (because it's compiled just in time) |
Made a PR for this to add to readme. I think you should merge that in or close the issue. This thread should be good enough for people to get some idea on how to resolve if they encounter the issue. |
Describe the bug
I had a bulleted list that used the
<br>
tag in a sentence, and I got an error while Gatsby compiled. Locally, my blog still finished compiling, but on Netlify it just stopped half-way.Once I wrapped the line break tag in ticks,
<br>
, my issue went away.Expected behavior
A clear and concise description of what you expected to happen.
alexfinnarn/blog@43e0192#diff-5af09c7cd8da7647ae9977eaa530290dR32
"table with
,"
Screenshots
The text was updated successfully, but these errors were encountered: