diff options
author | John MacFarlane <jgm@berkeley.edu> | 2014-11-05 09:09:27 -0800 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2014-11-05 09:09:27 -0800 |
commit | 9d33831ee4008a795ccec026ce65e424d15f9eaa (patch) | |
tree | 4c150fe31fa4a340202523f2f79225bfeab30b60 /src/inlines.c | |
parent | d2af455f9ff88e9c2f4540e1635d215207e2dbc2 (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.c | 2 |
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("")); |