- Commit
- 0def9262c5a7d9ebf55d08caff3b05ce82cd2dc1
- Parent
- 7363c073479a980fe10d56bd7867813e88b63847
- Author
- John MacFarlane <jgm@berkeley.edu>
- Date
Don't let URI schemes start with spaces.
My personal build of CMark ✏️
Don't let URI schemes start with spaces.
1 file changed, 1 insertion, 1 deletion
Status | File Name | N° Changes | Insertions | Deletions |
Modified | src/scanners.re | 2 | 1 | 1 |
diff --git a/src/scanners.re b/src/scanners.re @@ -71,7 +71,7 @@ bufsize_t _scan_at(bufsize_t (*scanner)(const unsigned char *), cmark_chunk *c, in_single_quotes = ['] (escaped_char|[^'\x00])* [']; in_parens = [(] (escaped_char|[^)\x00])* [)]; - scheme = [A-Za-z ][A-Za-z0-9.+-]{1,31}; + scheme = [A-Za-z][A-Za-z0-9.+-]{1,31}; */ // Try to match a scheme including colon.