summaryrefslogtreecommitdiff
path: root/src/inlines.c
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2015-07-13 17:32:27 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2015-07-13 17:32:27 -0700
commit7a6a00366b01c100ea866f14e33090497e9c31ef (patch)
treee730aabe47b4afc8262bc8f70c1c575e2fe3d68e /src/inlines.c
parentac39623d667999cfae1444b46508a9a423b0df1b (diff)
Removed assertion that broke debug build.
Diffstat (limited to 'src/inlines.c')
-rw-r--r--src/inlines.c2
1 files changed, 0 insertions, 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