Fix title for admonitions

This commit is contained in:
Kujiu 2021-01-31 13:36:18 +01:00
parent 0d8ae97b88
commit cc6a381097
Signed by: kujiu
GPG key ID: ABBB2CAC6855599F

View file

@ -128,7 +128,7 @@ class GeminiTranslator(SphinxTranslator):
def depart_title(self, node: Element) -> None: def depart_title(self, node: Element) -> None:
if isinstance(node.parent, nodes.Admonition): if isinstance(node.parent, nodes.Admonition):
self.add_text(':') self.add_text(': ')
def visit_subtitle(self, node: Element) -> None: def visit_subtitle(self, node: Element) -> None:
pass pass