summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/inlines.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/inlines.c b/src/inlines.c
index b530c02..10ef834 100644
--- a/src/inlines.c
+++ b/src/inlines.c
@@ -844,6 +844,10 @@ static int parse_inline(subject* subj, node_inl ** first, node_inl ** last)
} else if (new) {
append_inlines(*last, new);
*last = new;
+ while (new->next) {
+ new = new->next;
+ *last = new;
+ }
}
return 1;