Apply patch from @prashaantt for markdowned footnotes