Skip to content

Commit ae1c034

Browse files
committed
fix: :file: role
1 parent ef112f8 commit ae1c034

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pyconverter/xml2py/ast_tree.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -855,7 +855,7 @@ def to_rst(self, indent="", max_length=100):
855855
content = self[0]
856856
if "*" in content:
857857
content = content.replace("*", r"\*")
858-
return f":file:``{content}`` {self.tail}"
858+
return f":file:`{content}` {self.tail}"
859859

860860

861861
class OLink(Element):

0 commit comments

Comments
 (0)