I see that ID has made great improvements in its EPUB export capability over the last couple of years, in terms of the code being cleaner.
In the “Edit All Export Tags” dialog, I have all the “Include in HTML” boxes ticked for my styles that have tags with classes, and all the “Emit CSS” boxes are unticked.
Yet no matter how I switch up the options, for the first paragraph of each chapter in the book, an ID selector is applied by InDesign, e.g.:
with “Include in HTML” unchecked:
<p id=”_idParaDest-9″>This is the Chapter Title</p>
with “Include in HTML” checked:
<p id=”_idParaDest-9″ class=”title”>This is the Chapter Title</p>
It’s a minor thing but trying to wrap my head around it is driving me nuts.
The other thing is that–if ANY classes are included in HTML–I get a DIV wrapped around the text. If NO classes are included in HTML, there is no DIV wrapped around the page.