Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects
Commit ac87d66a authored by Jason Kridner's avatar Jason Kridner
Browse files

_ext/callouts: remove hack that didn't work

parent cd160bea
Branches
Tags
No related merge requests found
......@@ -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)]
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment