- Commit
- 04f9b7d03ea9a79f8b6f9a35deb4d703d80870f3
- Parent
- 0d8609cb073e86e0ec5511f54df663c7b7876391
- Author
- John MacFarlane <jgm@berkeley.edu>
- Date
process_emphasis: Fixed setting lower bound to potential openers.
My personal build of CMark ✏️
process_emphasis: Fixed setting lower bound to potential openers.
1 file changed, 1 insertion, 1 deletion
Status | File Name | N° Changes | Insertions | Deletions |
Modified | src/inlines.c | 2 | 1 | 1 |
diff --git a/src/inlines.c b/src/inlines.c @@ -534,7 +534,7 @@ static void process_emphasis(subject *subj, delimiter *stack_bottom) } if (!opener_found) { // set lower bound for future searches for openers: - openers_bottom[old_closer->delim_char] = closer; + openers_bottom[old_closer->delim_char] = old_closer->previous; if (!old_closer->can_open) { // we can remove a closer that can't be an // opener, once we've seen there's no