-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
Heading immediately following a table is being rendered in the table element #1467
Heading immediately following a table is being rendered in the table element #1467
Comments
You should add a blank line between then |
A usable workaround in a lot of cases but, unfortunately, in our use case the Markdown being parsed is both authored by other people and there is a high volume of it so it is not really viable for us to update and fix things in this way. |
You could change the markdown when you parse it
This is very low priority for us since there is an easy way to fix it. PRs are welcome 😁 |
Thanks! 🙂 I'll try find some time to give it a look. I've noticed a similar issue with lists. |
^ I've raised a PR to address this issue. |
Commenting here to note we are running into the same issue but with |
@calculuschild PRs are always welcome. You can look at #1469 as a starting point. |
Describe the bug
I have some Markdown that contains a table immediately followed by a heading on a new line. The subsequent heading is being rendered as part of the table.
To Reproduce
Steps to reproduce the behaviour:
Markdown Sample:
HTML output:
Demo:
Marked Demo
Expected behaviour
The heading should be rendered separately from the table.
The text was updated successfully, but these errors were encountered: