commit 1884b58ddb9f947e3257294e4f01e372962f37d3 (patch) parent b9ec20c72974c8c5e66f152699fe2719bfd25795 Author: Alex Karle <alex@alexkarle.com> Date: Sat, 18 Dec 2021 16:07:13 -0500 Fix `backtick` literals in code blocks Diffstat:
M | blag.c | | | 2 | ++ |
M | test/big.html | | | 2 | +- |
2 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/blag.c b/blag.c @@ -195,6 +195,8 @@ int parse() { printf("<code>"); s.in_code = 1; } + } else { + putesc(c); } break; case '*': diff --git a/test/big.html b/test/big.html @@ -72,7 +72,7 @@ my <a href="gopher://alexkarle.com">gopherhole</a>. <code><pre> $ this is a code block -$ *bold* and _italics_ and code have no effect! +$ *bold* and _italics_ and `code` have no effect! $ git status </pre></code>