EPUB export of headings with automatic numbering ignores heading levels and makes them a list
If you use automatic numbering for your chapters (including multi-level), even though you have defined in export tagging and proper H levels in Style settings for HTML/EPUB, these are completely ignored.
All headings are exported as <ol> <li> elements.
If I convert automatic numbering into text, chapter headings are correctly exported according to their export settings as various H levels and proper semantics is preserved.
According to HTML specification, lists can contain headings, so this seems to be bug. I don't think I will live long enough for this one to be fixed, so in the meantime, I would like to ask for some work-arounds.
One is to convert all headings from automatic numbering to text, but this has to be done one-by-one in a backwards fasion. Are you aware of a script that could do this - just for a particular set of styles? - I don't want all lists in the document to be converted into text because of accessibility complaince - just the headings.
Thank you very much for your insights!
