From ae1c0340d09577ebe85fcdba573871ea6c2e60ce Mon Sep 17 00:00:00 2001 From: Camille <78221213+clatapie@users.noreply.github.com> Date: Wed, 22 Jan 2025 11:27:11 +0100 Subject: [PATCH] fix: ``:file:`` role --- src/pyconverter/xml2py/ast_tree.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pyconverter/xml2py/ast_tree.py b/src/pyconverter/xml2py/ast_tree.py index bf86e9de7..6dca7ae18 100644 --- a/src/pyconverter/xml2py/ast_tree.py +++ b/src/pyconverter/xml2py/ast_tree.py @@ -855,7 +855,7 @@ def to_rst(self, indent="", max_length=100): content = self[0] if "*" in content: content = content.replace("*", r"\*") - return f":file:``{content}`` {self.tail}" + return f":file:`{content}` {self.tail}" class OLink(Element):