improved support for inline footnotes