- Commit
- 55d7b8808a7bba08345bcc94b7a462176c182fc9
- Parent
- 8ea2cbda0799fd4e06d1946038252dfd06d0bb6f
- Author
- John MacFarlane <jgm@berkeley.edu>
- Date
Allow spaces in link destination delimited with pointy brackets.
To conform to recent spec change.
My personal build of CMark ✏️
Allow spaces in link destination delimited with pointy brackets.
To conform to recent spec change.
1 file changed, 1 insertion, 1 deletion
Status | File Name | N° Changes | Insertions | Deletions |
Modified | src/inlines.c | 2 | 1 | 1 |
diff --git 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;