cmark

My personal build of CMark ✏️

Commit
9d33831ee4008a795ccec026ce65e424d15f9eaa
Parent
d2af455f9ff88e9c2f4540e1635d215207e2dbc2
Author
John MacFarlane <jgm@berkeley.edu>
Date

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

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
@@ -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(""));