summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/inlines.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/inlines.c b/src/inlines.c
index d0ab253..8bb82f1 100644
--- a/src/inlines.c
+++ b/src/inlines.c
@@ -933,7 +933,7 @@ static bufsize_t manual_scan_link_url(cmark_chunk *input, bufsize_t offset,
break;
} else if (input->data[i] == '\\')
i += 2;
- else if (cmark_isspace(input->data[i]) || input->data[i] == '<')
+ else if (input->data[i] == '\n' || input->data[i] == '<')
return manual_scan_link_url_2(input, offset, output);
else
++i;