Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions CHANGES
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@

0.14.3 August ??, 2026

- The `aside` element is now allowed. becomes div[class=aside] in epub2.

- In both in HTML and EPUB, for improved accessibility, added the css rule `a[href] {text-decoration: underline;}` to make sure links are underlined. Previously, we underlined all `a` elements, which ignored prior usage as an link target.

- handling of inline SVG has been improved.
- the inline SVG element is now handled whether or not it has set the svg namespace.
- inline SVG is changed to standalone files in EPUB2
Expand Down
3 changes: 2 additions & 1 deletion src/ebookmaker/writers/EpubWriter.py
Original file line number Diff line number Diff line change
Expand Up @@ -1081,7 +1081,8 @@ def fix_html5(xhtml):

# replace html5 block tags
usedtags = set()
for newtag in ['article', 'figcaption', 'figure', 'footer', 'header', 'section', 'nav', 'main']:
for newtag in ['article', 'figcaption', 'figure', 'footer', 'header', 'section', 'nav',
'main', 'aside']:
for tag in xpath(xhtml, f'//xhtml:{newtag}'):
usedtags.add(newtag)
tag.tag = NS.xhtml.div
Expand Down