From 8c08a70605640bc7c53c4a4a753ba3d54fb2145e Mon Sep 17 00:00:00 2001 From: Olivier Clavel Date: Mon, 1 Feb 2021 18:30:24 +0100 Subject: [PATCH] Remove duplicated backslash escape stopping utf8 chars decodding --- gh-md-toc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gh-md-toc b/gh-md-toc index 1061b0c..4eba1bb 100755 --- a/gh-md-toc +++ b/gh-md-toc @@ -207,7 +207,7 @@ gh_toc_grab() { res = " " } else { if (c == "%") { - res = "\\\\x" + res = "\\x" } else { res = c "" }