- Commit
- 455068614817b4080a0606dca0daec4de61ff68a
- Parent
- 8032d6572d6833e201468ba87b78fba604ef7147
- Author
- John MacFarlane <jgm@berkeley.edu>
- Date
commonmark - properly escape literal backticks.
My personal build of CMark ✏️
commonmark - properly escape literal backticks.
1 file changed, 1 insertion, 1 deletion
Status | File Name | N° Changes | Insertions | Deletions |
Modified | src/commonmark.c | 2 | 1 | 1 |
diff --git 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 &&