summaryrefslogtreecommitdiff
path: root/src/inlines.c
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2014-11-05 09:09:27 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2014-11-05 09:09:27 -0800
commit9d33831ee4008a795ccec026ce65e424d15f9eaa (patch)
tree4c150fe31fa4a340202523f2f79225bfeab30b60 /src/inlines.c
parentd2af455f9ff88e9c2f4540e1635d215207e2dbc2 (diff)
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 (limited to 'src/inlines.c')
-rw-r--r--src/inlines.c2
1 files changed, 1 insertions, 1 deletions
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(""));