Fix for add_chapter_numbers:toconly and unnew. Closes #1274

This commit is contained in:
Jim Miller 2025-11-11 20:08:57 -06:00
parent a4a91b373f
commit 0a3ab4bc9d

View file

@ -380,6 +380,7 @@ def reset_orig_chapters_epub(inputio,outfile):
tag = soup.find('meta',{'name':'chaptertoctitle'})
if tag:
chaptertoctitle = tag['content']
else:
chaptertoctitle = chapterorigtitle
chaptertitle = None