newism/nsm.footnotes.ee_addon — pull request #2 by than (2012-01-14 17:43:04+00:00)
Title: Removing tag pairs if no footnote matches re: #1

This is probably a really hack way to do this... But it appears to work. Everything else I tried broke the channel:entries tag output.

If there are no footnotes, regex grabs {footnotes} {/footnotes} and anything between them.