From b58db4b9e73961fb740ec855271f23d51874ff7d Mon Sep 17 00:00:00 2001 From: luca0N! Date: Tue, 24 May 2022 20:02:41 -0300 Subject: [PATCH] Fix character escape bug Fixed a bug which caused MarkdownParser to print the leading backslash when escaping special Markdown characters. --- src/MarkdownParser.cxx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/MarkdownParser.cxx b/src/MarkdownParser.cxx index 235b8b5..32eaac3 100644 --- a/src/MarkdownParser.cxx +++ b/src/MarkdownParser.cxx @@ -312,6 +312,8 @@ std::string make_html(std::filesystem::path const &path) { break; } else append(" "); break; + case '\\': + break; default: append(c); break;