Just yesterday I fixed an ebook conversion to epub from azw3 where every paragraph was a new page. The regular paragraphs had a class called "chapter"
and the first paragraph had a class called "chapter-first" which was OK
Quote:
<p class="chapter-first">
|
I renamed those in the azw3 file with a right-click rename which did enitire of all HTML files and CSS file in one go.
Reconverted the azw3 and it was fine.
Never saw this before on azw3 conversions to epub. I've not edited the Structure detection for ages:
Quote:
//*[((name()='h1' or name()='h2') and re:test(., '\s*((chapter|book|section|part)\s+)|((prolog|prol ogue|epilogue)(\s+|$))', 'i')) or @class = 'chapter']
|
How do I make it ignore @class = 'chapter' when it's the body paragraphs?