-
Notifications
You must be signed in to change notification settings - Fork 115
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
Footnote <table>s are nested in a <p> tag #936
Comments
There's quite a few issues opened here to do with The future version which can be previewed here https://github.com/tlienart/Xranklin.jl (though not recommended for use atm, it's work ongoing) has its own markdown to HTML converter; it's not perfect but it's better by avoiding going through the Base converter; and since it constructs the HTML in a saner manner, there are fewer issues though there will likely still be some. I've put a fair bit of effort into trying to limit the number of cases where tags are unclosed (because it's important for things like minifiers) and to keep the HTML logic correct, this is not something that's trivial to do for a number of reasons however (unless you build the HTML tree which is not what I wanted to do for a bunch of reasons) and in order not to have complicated and hard to maintain logic in the code, there will definitely be cases where the generated HTML will be properly rendered by any standard browser and yet won't be fully semantically correct. The case you flagged (table within a paragraph) is one of the few basic erroneous cases that will go away though. Hope that makes sense! |
That's OK, I've already came up with a work around specifically for the footnotes. |
Semantically
<p>
tags should not contain<table>
.The text was updated successfully, but these errors were encountered: