-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Warning when rendering tables #151
Comments
Can you provide a reproduction? |
@timneutkens Sorry, was a wrong warning. The real one is because of
|
It produces the following code: {`
`}<MDXTag name="thead" components={components} parentName="table">{`
`}<MDXTag name="tr" components={components} parentName="thead">{`
`}<MDXTag name="th" components={components} parentName="tr" props={{"align":null}}>{`Item 1`}</MDXTag>{` |
I mean, can you provide the MDX you're writing, since otherwise I can't make a failing test. |
Sure, | Item 1 | Item 2 |
| --- | --- |
| Item 1 | Item 2 | |
@timneutkens is there any updates regarding this issue? |
Haven't looked into it yet. Currently focusing on specific parts of Next.js. I've added a few labels so that someone can look into it if they want to. |
Is there any update? |
Removes extra whitespace between tags due to \n being wrapped. closes mdx-js#151
Removes extra whitespace between tags due to \n being wrapped. - Add table to fixture - Create test to fail on single wrapped new lines - Update test with wrapped line and extra 's' closes mdx-js#151
Removes extra whitespace between tags due to \n being wrapped. - Add table to fixture - Create test to fail on single wrapped new lines - Update test with wrapped line and extra 's' - Add table to next.js example closes mdx-js#151
Removes extra whitespace between tags due to \n being wrapped. - Add table to fixture - Create test to fail on single wrapped new lines - Update test with wrapped line and extra 's' - Add table to next.js example closes #151
Removes extra whitespace between tags due to \n being wrapped. - Add table to fixture - Create test to fail on single wrapped new lines - Update test with wrapped line and extra 's' - Add table to next.js example closes #151
Removes extra whitespace between tags due to \n being wrapped. - Add table to fixture - Create test to fail on single wrapped new lines - Update test with wrapped line and extra 's' - Add table to next.js example closes #151
When rendering tables, it shows the following warning:
It seems like either mdx or any dependency renders
<table/>
s without<tbody/>
s inside.React 16.3.
The text was updated successfully, but these errors were encountered: