lemonmade / bigfoot

A jQuery plugin for creating exceptional footnotes.
http://www.bigfootjs.com
MIT License
936 stars 69 forks source link

Footnotes attached to list items are hidden #62

Open jacobtender opened 6 years ago

jacobtender commented 6 years ago

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!