mgood/flask-debugtoolbar — pull request #20 by runeh (2012-02-29 00:47:45+00:00)
Title: Shoule be an exception when debugtoolbar can't insert itself

The debugtoolbar uses the

tag as the marker when inserting itself. In html5, both the opening and closing body tags can be implicit, thus valid documents may omit them.

Patch raises a RuntimeError if there is no

tag in the html.