From 847058d68b3e373dfce0af75ac7f26394341ca75 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Mon, 17 Nov 2014 23:09:08 -0800 Subject: Make sure the emph inline added in process_emphasis has a parent. --- 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 f681080..6c90116 100644 --- a/src/inlines.c +++ b/src/inlines.c @@ -383,6 +383,7 @@ static void process_emphasis(subject *subj, delimiter_stack *stack_bottom) emph = use_delims == 1 ? make_emph(inl->next) : make_strong(inl->next); emph->next = closer->first_inline; emph->prev = inl; + emph->parent = inl->parent; inl->next = emph; // if opener has 0 delims, remove it and its associated inline -- cgit v1.2.3