replace footnotes by links