fix(api): PDF ToC is h1

Fixes #36
This commit is contained in:
TheOnlyWayUp
2024-12-26 15:05:57 +00:00
parent 5cfdc8f305
commit 222e07085f
+1 -1
View File
@@ -683,7 +683,7 @@ id="copyright-license-image">""".format(
clean = BeautifulSoup( clean = BeautifulSoup(
""" """
<section id="contents" class="toc"> <section id="contents" class="toc">
<h2>Table of Contents</h2> <h1>Table of Contents</h1>
<ul></ul> <ul></ul>
</section> </section>
""", """,