Skip to content

Commit

Permalink
fix: :file: role
Browse files Browse the repository at this point in the history
  • Loading branch information
clatapie committed Jan 22, 2025
1 parent ef112f8 commit ae1c034
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pyconverter/xml2py/ast_tree.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit ae1c034

Please sign in to comment.