summaryrefslogtreecommitdiff
path: root/src/inlines.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/inlines.c')
-rw-r--r--src/inlines.c1
1 files changed, 1 insertions, 0 deletions
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;