summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2015-12-28 22:17:06 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2015-12-28 22:17:06 -0800
commit037319d3ddd01ed80e58ac1e9980e11491730c90 (patch)
tree631100a7bd7d8927230921e72aae18d8fbfad317
parent5cea66f5e271dc93285be2edd4e9d205ebcaf9b5 (diff)
Don't allow space between link text and link label
in a reference link. (Spec change.)
-rw-r--r--src/inlines.c1
1 files changed, 0 insertions, 1 deletions
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) {