HTML5 writer: use parent `depart_document()` method.
commitef750276889b27c957e3a15ea0d21966d2774627
authormilde <milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04>
Sun, 13 Nov 2022 16:15:49 +0000 (13 16:15 +0000)
committermilde <milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04>
Sun, 13 Nov 2022 16:15:49 +0000 (13 16:15 +0000)
tree90970632e66c60d2c9ca8833e46afebd423dd4f3
parent60347c3bb733f31af95f4dea00cb7887db98d9f6
HTML5 writer: use parent `depart_document()` method.

Store the arguments to starttag() in a class property, to allow for
different tags (HTML4 <div class="document"> and HTML5 <main>).

git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@9242 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
docutils/docutils/writers/_html_base.py
docutils/docutils/writers/html5_polyglot/__init__.py