cmark

Unnamed repository; edit this file 'description' to name the repository.

commit 9d33831ee4008a795ccec026ce65e424d15f9eaa
parent d2af455f9ff88e9c2f4540e1635d215207e2dbc2
Author: John MacFarlane <jgm@berkeley.edu>
Date:   Wed,  5 Nov 2014 09:09:27 -0800

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.

Diffstat:
Msrc/inlines.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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(""));