Note on end of header stops promotion
See #67 for files, Bowen Ch 1
The heading "The War on Terroir" isn't getting promoted to an h1, like all the other headings in the chapter (which, apart from the very 1st chapter title, are all the same level). This is because there's an note at the end of the heading:
Removing the note and re-running the conversion fixes the issue. Is there an easy fix for this, so a note at the end of the header doesn't stop promotion?