diff options
author | John MacFarlane <jgm@berkeley.edu> | 2015-03-29 16:45:09 -0700 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2015-03-29 16:45:09 -0700 |
commit | 951111c353c5eabe6c855f0a78362512d4d20d18 (patch) | |
tree | bed1f22847bff374b21ee101548cdb9542e77faa /src | |
parent | 5dba9e685d3491e55bd10a698adaf28bb4d44cd2 (diff) |
Fixes one-off error in previous commit.
Diffstat (limited to 'src')
-rw-r--r-- | src/commonmark.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/commonmark.c b/src/commonmark.c index 640779d..e87e119 100644 --- a/src/commonmark.c +++ b/src/commonmark.c @@ -416,7 +416,7 @@ S_render_node(cmark_node *node, cmark_event_type ev_type, for (i = 0; i < numticks; i++) { lit(state, "`", false); } - if (code->len <= 1 || code->data[0] == '`') { + if (code->len == 0 || code->data[0] == '`') { lit(state, " ", false); } out(state, node->as.literal, true, LITERAL); |