From ac87d66a69e509f8fdb8030f9721ca5ca7c33368 Mon Sep 17 00:00:00 2001 From: Jason Kridner <jkridner@beagleboard.org> Date: Wed, 28 Sep 2022 21:24:46 -0400 Subject: [PATCH] _ext/callouts: remove hack that didn't work --- _ext/callouts.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_ext/callouts.py b/_ext/callouts.py index 8ed544ae..97bb23e4 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)] -- GitLab