diff options
author | John MacFarlane <jgm@berkeley.edu> | 2018-03-25 17:19:35 -0700 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2018-03-25 17:19:35 -0700 |
commit | 55d7b8808a7bba08345bcc94b7a462176c182fc9 (patch) | |
tree | 29950e0d36403309212114a34f36c0344b426123 | |
parent | 8ea2cbda0799fd4e06d1946038252dfd06d0bb6f (diff) |
Allow spaces in link destination delimited with pointy brackets.
To conform to recent spec change.
-rw-r--r-- | src/inlines.c | 2 |
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; |