Footnote popups/in-page: support type/role=endnote

This commit is contained in:
poire-z
2021-08-17 15:41:03 +02:00
parent b875ccc6f9
commit 5df84bcb4f
2 changed files with 5 additions and 1 deletions

2
base

Submodule base updated: 3e006501df...1b9094bde3

View File

@@ -729,9 +729,11 @@ This only works with footnotes that have specific attributes set by the publishe
-- Restrict this to non-FB2 documents, as FB2 can have <a type="note">
css = [[
*[type~="note"],
*[type~="endnote"],
*[type~="footnote"],
*[type~="rearnote"],
*[role~="doc-note"],
*[role~="doc-endnote"],
*[role~="doc-footnote"],
*[role~="doc-rearnote"]
{
@@ -751,9 +753,11 @@ This only works with footnotes that have specific attributes set by the publishe
-- and we don't want to have them smaller
css = [[
*[type~="note"],
*[type~="endnote"],
*[type~="footnote"],
*[type~="rearnote"],
*[role~="doc-note"],
*[role~="doc-endnote"],
*[role~="doc-footnote"],
*[role~="doc-rearnote"]
{