diff options
author | John MacFarlane <jgm@berkeley.edu> | 2015-03-29 17:48:04 -0700 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2015-03-29 17:48:04 -0700 |
commit | 455068614817b4080a0606dca0daec4de61ff68a (patch) | |
tree | 17a530f45e26e0ec1ec7a92c5d26d273188a4e7f | |
parent | 8032d6572d6833e201468ba87b78fba604ef7147 (diff) |
commonmark - properly escape literal backticks.
-rw-r--r-- | src/commonmark.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 && |