From 037319d3ddd01ed80e58ac1e9980e11491730c90 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Mon, 28 Dec 2015 22:17:06 -0800 Subject: Don't allow space between link text and link label in a reference link. (Spec change.) --- src/inlines.c | 1 - 1 file changed, 1 deletion(-) (limited to 'src/inlines.c') diff --git a/src/inlines.c b/src/inlines.c index 8aa32f4..1199831 100644 --- 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) { -- cgit v1.2.3