diff --git a/_ext/callouts.py b/_ext/callouts.py index 8ed544aec52856f305cb501d9bfb2a2006ebb9d5..97bb23e4ee77d126cdac16d2e228987c6e31aa8a 100644 --- a/_ext/callouts.py +++ b/_ext/callouts.py @@ -47,7 +47,7 @@ class LiteralIncludeVisitor(nodes.NodeVisitor): source = str(node.rawsource) for i in range(1, 20): source = source.replace( - f"<{i}>", "``" + chr(int(f"0x{BASE_NUM + i}", base=16)) + "``" + f"<{i}>", chr(int(f"0x{BASE_NUM + i}", base=16)) ) node.rawsource = source node[:] = [nodes.Text(source)]