aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/inlines.c1
1 files changed, 1 insertions, 0 deletions
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