- Commit
- 7a6a00366b01c100ea866f14e33090497e9c31ef
- Parent
- ac39623d667999cfae1444b46508a9a423b0df1b
- Author
- John MacFarlane <jgm@berkeley.edu>
- Date
Removed assertion that broke debug build.
My personal build of CMark ✏️
Removed assertion that broke debug build.
1 file changed, 0 insertions, 2 deletions
Status | File Name | N° Changes | Insertions | Deletions |
Modified | src/inlines.c | 2 | 0 | 2 |
diff --git a/src/inlines.c b/src/inlines.c @@ -455,8 +455,6 @@ static cmark_node* handle_hyphen(subject* subj, bool smart) int i; cmark_strbuf buf = GH_BUF_INIT; - assert(numyphens > 1); - if (numhyphens % 3 == 0) { // if divisible by 3, use all em dashes em_count = numhyphens / 3; } else if (numhyphens % 2 == 0) { // if divisible by 2, use all en dashes