Move footnotes past punctuation. Fixes #5.