From 27b2f3a92aaf43080a4a1d80e6fae6d6f0802441 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Tue, 14 Dec 2021 11:54:03 +0530 Subject: [PATCH] E-book viewer: Displays links marked up as glossary and bibliography links as popups. Fixes #1954715 [Support ARIA doc-biblioref and doc-glossref](https://bugs.launchpad.net/calibre/+bug/1954715) --- src/pyj/read_book/footnotes.pyj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pyj/read_book/footnotes.pyj b/src/pyj/read_book/footnotes.pyj index 0938385176..78995c3e73 100644 --- a/src/pyj/read_book/footnotes.pyj +++ b/src/pyj/read_book/footnotes.pyj @@ -31,7 +31,7 @@ def get_containing_block(node): def is_footnote_link(a, dest_name, dest_frag, src_name, link_to_map): roles = elem_roles(a) - if roles['doc-noteref']: + if roles['doc-noteref'] or roles['doc-biblioref'] or roles['doc-glossref']: return True if roles['doc-link']: return False