summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/inlines.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/inlines.c b/src/inlines.c
index a1ecf01..634caea 100644
--- a/src/inlines.c
+++ b/src/inlines.c
@@ -765,6 +765,7 @@ static node_inl* handle_close_bracket(subject* subj, node_inl **last)
noMatch:
// If we fall through to here, it means we didn't match a link:
+ remove_delimiter(subj, ostack); // remove this opener from delimiter stack
subj->pos = initial_pos;
return make_str(chunk_literal("]"));