summaryrefslogtreecommitdiff
path: root/src/commonmark.c
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2015-07-12 20:41:58 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2015-07-12 20:41:58 -0700
commitefeb7093a3e6a96019b0805fc630a7aa4c31481b (patch)
treef70ba8491118d5feb4b9215eb2bc19186121805c /src/commonmark.c
parent7eb81622aedcda536f41bc36b63d3fc48c065838 (diff)
commonmark renderer - escape !.
Now all round-trip tests pass.
Diffstat (limited to 'src/commonmark.c')
-rw-r--r--src/commonmark.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/commonmark.c b/src/commonmark.c
index 5d5cd8a..60565d2 100644
--- a/src/commonmark.c
+++ b/src/commonmark.c
@@ -30,7 +30,7 @@ static inline void outc(cmark_renderer *renderer,
escape != LITERAL &&
((escape == NORMAL &&
(c == '*' || c == '_' || c == '[' || c == ']' || c == '#' ||
- c == '<' || c == '>' || c == '\\' || c == '`' ||
+ c == '<' || c == '>' || c == '\\' || c == '`' || c == '!' ||
(c == '&' && isalpha(nextc)) ||
(c == '!' && nextc == '[') ||
(renderer->begin_line &&