Fix title for admonitions
This commit is contained in:
parent
0d8ae97b88
commit
cc6a381097
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue