From 7a6a00366b01c100ea866f14e33090497e9c31ef Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Mon, 13 Jul 2015 17:32:27 -0700 Subject: Removed assertion that broke debug build. --- src/inlines.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/inlines.c b/src/inlines.c index c4cd733..7ea308d 100644 --- 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 -- cgit v1.2.3