You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The TOC generated when creating an EPUB 3 produces items that contain unnecessary preceding and trailing whitespace as well as preceding and trailing line breaks. Those are rendered by iBooks in its native TOC view, producing TOC with far too much whitespace:
Well, not, exactly as the code above was hand-edited to make them more generic than the one pertaining to the book I was working with.
The one below produces almost identical one that, and at any rate, causes the same visual defect in iBooks:
# My EPUB 3 #
An intro text.
## Chapter 1 ##
This is chapter 1.
## Chapter 2 ##
This is chapter 2.
### Chapter 2.1 ###
This is subchapter 1 inside chapter 2.
### Chapter 2.2 ###
This is subchapter 2 inside chapter 2.
## Chapter 3 ##
This is chapter 3.
## Chapter 4 ##
This is chapter 4.
The TOC generated when creating an EPUB 3 produces items that contain unnecessary preceding and trailing whitespace as well as preceding and trailing line breaks. Those are rendered by iBooks in its native TOC view, producing TOC with far too much whitespace:
Actual result:
Below, the expected result, in order to obtain a proper appearance in iBooks:
or even better, for the sake of readability:
The text was updated successfully, but these errors were encountered: