Browse Source

Fix: End of admonition

main
Kujiu 1 year ago
parent
commit
28e9f322f3
Signed by: kujiu
GPG Key ID: ABBB2CAC6855599F
  1. 1
      sphinx_gemini_builder/writer.py

1
sphinx_gemini_builder/writer.py

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

Loading…
Cancel
Save