Fix character escape bug
Fixed a bug which caused MarkdownParser to print the leading backslash when escaping special Markdown characters.
This commit is contained in:
parent
d97ef91db8
commit
b58db4b9e7
|
@ -312,6 +312,8 @@ std::string make_html(std::filesystem::path const &path) {
|
||||||
break;
|
break;
|
||||||
} else append(" ");
|
} else append(" ");
|
||||||
break;
|
break;
|
||||||
|
case '\\':
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
append(c);
|
append(c);
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue