def depart_collected_footnote(self, node: Element) -> None:
    self.body.append('}')
    self.in_footnote -= 1
def depart_collected_footnote(self, node: Element) -> None:
    self.body.append('}')
    self.in_footnote -= 1