Add reentrant conversion to Showdown footnotes.

Fixes #4668.

However, note that multi-paragraph footnotes are still broken.