-
Notifications
You must be signed in to change notification settings - Fork 34
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
Zombie <p></p> before and after the ToC #62
Comments
@marconae I'm afraid this is actually expected behavior, because of how Markdown works. This plugin doesn't really add the If you do this: Test
[[toc]] it will be transformed into <p>Test<div class="table-of-contents">...</div></p> Not optimal either. I suppose there is a way to modify the plugin to not add a default paragraph. Maybe I can look into it, but can't promise right now. |
@cmaas Thanks for your feedback. I just discovered the issue, because I would like to have W3C valid HTML in my blog. It would be great if there is a way to modify the plugin to not add the |
@marconae New version 0.7.0 fixes this and removes the wrapping |
I am using version
0.6.0
. The<div...><ul>...
is always wrapped in a<p>
.Excerpt of the Markdown file:
Here is the generated HTML:
Checked other blogs out there that use the library and I see the wrapping
<p>
there as well.How to get rid of the wrapping
<p>
?The text was updated successfully, but these errors were encountered: