summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2015-06-18 12:31:28 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2015-06-18 12:31:28 -0700
commit04f9b7d03ea9a79f8b6f9a35deb4d703d80870f3 (patch)
treeed9f8b311599ff2c8c528e9cb1dcd49f45301b23
parent0d8609cb073e86e0ec5511f54df663c7b7876391 (diff)
process_emphasis: Fixed setting lower bound to potential openers.
-rw-r--r--src/inlines.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/inlines.c b/src/inlines.c
index 33220ff..f08e9eb 100644
--- 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