Finalize footnote and box bbcode.