From 32abf27635068757a084f9a959d21413ab212793 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Sat, 18 Oct 2014 23:11:34 -0700 Subject: parse_inline: Correctly move to last inline. --- src/inlines.c | 4 ++++ 1 file changed, 4 insertions(+) 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; -- cgit v1.2.3