Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion src/guiguts/data/html/html_header.txt
Original file line number Diff line number Diff line change
Expand Up @@ -251,4 +251,3 @@ img.w100 {width: 100%;}
</style>
</head>
<body>
<main>
2 changes: 1 addition & 1 deletion src/guiguts/html_convert.py
Original file line number Diff line number Diff line change
Expand Up @@ -1153,7 +1153,7 @@ def insert_header_footer() -> None:
if user_header:
maintext().insert(end_of_css(), f"{user_header}\n")
# Insert footer
maintext().insert(tk.END, "\n</main>\n</body>\n</html>\n")
maintext().insert(tk.END, "\n</body>\n</html>\n")
# Restore mark gravity if changed above
for page_mark in page_mark_list:
maintext().mark_gravity(page_mark, tk.LEFT)
Expand Down
2 changes: 0 additions & 2 deletions tests/expected/htmlconvert1.txt
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,6 @@ img.w100 {width: 100%;}
</style>
</head>
<body>
<main>


<!-- Autogenerated TOC. Modify or delete as required. -->
Expand Down Expand Up @@ -1682,6 +1681,5 @@ SHEETS</p>
</blockquote>
<p>]</p>

</main>
</body>
</html>
2 changes: 0 additions & 2 deletions tests/expected/htmlconvert2.txt
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,6 @@ img.w100 {width: 100%;}
</style>
</head>
<body>
<main>


<h1>
Expand Down Expand Up @@ -5399,6 +5398,5 @@ of this eBook that support hyperlinks, the page
references in the List of Illustrations lead to the
corresponding illustrations.</p>

</main>
</body>
</html>
Loading