From decf525cf60f8db8ffe1ee525a328b488d16f35b Mon Sep 17 00:00:00 2001 From: Nick Wellnhofer Date: Sat, 29 Nov 2014 18:37:48 +0100 Subject: Fix prev pointer of emph->first_child --- src/inlines.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/inlines.c') diff --git a/src/inlines.c b/src/inlines.c index e08b757..5a8024d 100644 --- a/src/inlines.c +++ b/src/inlines.c @@ -431,6 +431,7 @@ static void process_emphasis(subject *subj, delimiter_stack *stack_bottom) // fix tree structure tmp = emph->first_child; + tmp->prev = NULL; while (tmp->next != NULL && tmp->next != closer->first_inline) { tmp->parent = emph; tmp = tmp->next; -- cgit v1.2.3