Fix: End of admonition

This commit is contained in:
Kujiu 2021-01-31 13:17:43 +01:00
parent 497edf0e1e
commit 28e9f322f3
Signed by: kujiu
GPG key ID: ABBB2CAC6855599F

View file

@ -496,7 +496,6 @@ class GeminiTranslator(SphinxTranslator):
pass pass
def _depart_admonition(self, node: Element) -> None: def _depart_admonition(self, node: Element) -> None:
self.add_text(admonitionlabels[node.tagname] + ' :')
self.end_block() self.end_block()
visit_attention = _visit_admonition visit_attention = _visit_admonition