Skip to content

Footnotes attached to list items are hidden #62

@jacobtender

Description

@jacobtender

I can see that footnoteTagname: 'li', and that these are hidden using the footnote-print-only class.

The issue here is that using a footnote with any standard list entry results in that entry being hidden as well.

<ol>
    <li><em>Vultures</em> - Dead Leaves <sup><a id="ffn1" href="#fn1" class="footnote">1</a></sup></li>
    <li><em>Mental Illness</em> - Aimee Mann</li>
</ol>

This snippet, for example, only renders the second list item. Instead of

  1. Vultures - Dead Leaves 1
  2. Mental Illness - Aimee Mann

You get

  1. Mental Illness - Aimee Mann

Thanks, I love the script!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions