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
I just noticed, that the presentation of the headings outline in the report is affected by the heading's inline elements.
For example: The following EPUB from gutenberg.org https://www.gutenberg.org/ebooks/19778 uses <a> elements to link the headings with other content. As a result, the headings are presented as links in the headings outline, but the links don't lead anywhere...
Probably most EPUBs don't have any Inline-Elements, but maybe it's still useful to make sure the outlines are shown uniformly?
The text was updated successfully, but these errors were encountered:
The headings extraction script now returns the elements `textContent` property
instead of their `innerHTML`.
A smarter processing could be devised in a future version:
- detect an empty content and report a dummy text
- trim long content
Fixes#129
The headings extraction script now returns the elements `textContent` property
instead of their `innerHTML`.
A smarter processing could be devised in a future version:
- detect an empty content and report a dummy text
- trim long content
Fixes#129
I just noticed, that the presentation of the headings outline in the report is affected by the heading's inline elements.
For example: The following EPUB from gutenberg.org https://www.gutenberg.org/ebooks/19778 uses
<a>
elements to link the headings with other content. As a result, the headings are presented as links in the headings outline, but the links don't lead anywhere...Probably most EPUBs don't have any Inline-Elements, but maybe it's still useful to make sure the outlines are shown uniformly?
The text was updated successfully, but these errors were encountered: