From 455068614817b4080a0606dca0daec4de61ff68a Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Sun, 29 Mar 2015 17:48:04 -0700 Subject: commonmark - properly escape literal backticks. --- src/commonmark.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/commonmark.c b/src/commonmark.c index f41c9ee..9a7a882 100644 --- a/src/commonmark.c +++ b/src/commonmark.c @@ -55,7 +55,7 @@ needs_escaping(escaping escape, { if (escape == NORMAL) { return (c == '*' || c == '_' || c == '[' || c == ']' || - c == '<' || c == '>' || c == '\\' || + c == '<' || c == '>' || c == '\\' || c == '`' || (c == '&' && isalpha(next_c)) || (c == '!' && next_c == '[') || (state->begin_line && -- cgit v1.2.3