cmark

My personal build of CMark ✏️

Commit
efeb7093a3e6a96019b0805fc630a7aa4c31481b
Parent
7eb81622aedcda536f41bc36b63d3fc48c065838
Author
John MacFarlane <jgm@berkeley.edu>
Date

commonmark renderer - escape !.

Now all round-trip tests pass.

Diffstat

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
@@ -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 &&