Fix text after inline footnotes
Deduplicate footnotes