Fix TOC processing cutting off Markdown content #294
The `footnotes` Python-Markdown extension appends a HTML div containing the footnotes to the end of the generated HTML. This commit prevents the `toc` class from accidentally moving that div to the TOC HTML output instead of the main HTML output.
I'm not too well-versed in Python development, so this pull-request may be lacking in that respect. This code works, but I would like to add a test for this use case (using the
This change doesn't seem to be quite right, a bunch of tests are failing because there is now some extra HTML. https://travis-ci.org/tomchristie/mkdocs/jobs/44571618
I can't see the reason, but lots of the failures are due to an extra