- Commit
- 037319d3ddd01ed80e58ac1e9980e11491730c90
- Parent
- 5cea66f5e271dc93285be2edd4e9d205ebcaf9b5
- Author
- John MacFarlane <jgm@berkeley.edu>
- Date
Don't allow space between link text and link label
in a reference link. (Spec change.)
My personal build of CMark ✏️
Don't allow space between link text and link label
in a reference link. (Spec change.)
1 file changed, 0 insertions, 1 deletion
Status | File Name | N° Changes | Insertions | Deletions |
Modified | src/inlines.c | 1 | 0 | 1 |
diff --git a/src/inlines.c b/src/inlines.c @@ -865,7 +865,6 @@ static cmark_node *handle_close_bracket(subject *subj, cmark_node *parent) { // Next, look for a following [link label] that matches in refmap. // skip spaces - subj->pos = subj->pos + scan_spacechars(&subj->input, subj->pos); raw_label = cmark_chunk_literal(""); found_label = link_label(subj, &raw_label); if (!found_label || raw_label.len == 0) {