From 1884b58ddb9f947e3257294e4f01e372962f37d3 Mon Sep 17 00:00:00 2001 From: Alex Karle Date: Sat, 18 Dec 2021 16:07:13 -0500 Subject: [PATCH] Fix `backtick` literals in code blocks --- blag.c | 2 ++ test/big.html | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/blag.c b/blag.c index c95f442..be6b9c4 100644 --- a/blag.c +++ b/blag.c @@ -195,6 +195,8 @@ int parse() { printf(""); s.in_code = 1; } + } else { + putesc(c); } break; case '*': diff --git a/test/big.html b/test/big.html index 3ffdc2c..08a51a2 100644 --- a/test/big.html +++ b/test/big.html @@ -72,7 +72,7 @@ my gopherhole.
 $ this is a code block
-$ *bold* and _italics_ and code have no effect!
+$ *bold* and _italics_ and `code` have no effect!
 $ git status
 
-- libgit2 1.1.1