From 9d33831ee4008a795ccec026ce65e424d15f9eaa Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Wed, 5 Nov 2014 09:09:27 -0800 Subject: Removed recursive call to handle_strong_emph. Closes #186 - in a somewhat different way than in the PR. This is simpler and I don't see any significant impact on performance in my tests. --- src/inlines.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/inlines.c') diff --git a/src/inlines.c b/src/inlines.c index e747dfd..2fe0caa 100644 --- a/src/inlines.c +++ b/src/inlines.c @@ -388,7 +388,7 @@ static node_inl* handle_strong_emph(subject* subj, unsigned char c, node_inl **l if (useDelims < numdelims) { subj->pos = subj->pos - numdelims + useDelims; - return handle_strong_emph(subj, c, last); + return NULL; } return NULL; // make_str(chunk_literal("")); -- cgit v1.2.3