diff options
author | John MacFarlane <jgm@berkeley.edu> | 2014-11-17 23:09:08 -0800 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2014-11-17 23:09:08 -0800 |
commit | 847058d68b3e373dfce0af75ac7f26394341ca75 (patch) | |
tree | 6a20dff249fe3a6edb89e339c529fc9fc63a62de /src | |
parent | 5ba0fc09583fd85ef13df60130020f75ae846f94 (diff) |
Make sure the emph inline added in process_emphasis has a parent.
Diffstat (limited to 'src')
-rw-r--r-- | src/inlines.c | 1 |
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 |