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

pull/8096/head
poire-z 3 years ago
parent b875ccc6f9
commit 5df84bcb4f

@ -1 +1 @@
Subproject commit 3e006501df33c5784f2babea0e5764942a85db4e Subproject commit 1b9094bde3d055622df568e4a015e14233fc41b3

@ -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"> -- Restrict this to non-FB2 documents, as FB2 can have <a type="note">
css = [[ css = [[
*[type~="note"], *[type~="note"],
*[type~="endnote"],
*[type~="footnote"], *[type~="footnote"],
*[type~="rearnote"], *[type~="rearnote"],
*[role~="doc-note"], *[role~="doc-note"],
*[role~="doc-endnote"],
*[role~="doc-footnote"], *[role~="doc-footnote"],
*[role~="doc-rearnote"] *[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 -- and we don't want to have them smaller
css = [[ css = [[
*[type~="note"], *[type~="note"],
*[type~="endnote"],
*[type~="footnote"], *[type~="footnote"],
*[type~="rearnote"], *[type~="rearnote"],
*[role~="doc-note"], *[role~="doc-note"],
*[role~="doc-endnote"],
*[role~="doc-footnote"], *[role~="doc-footnote"],
*[role~="doc-rearnote"] *[role~="doc-rearnote"]
{ {

Loading…
Cancel
Save