summaryrefslogtreecommitdiff
path: root/src/iterator.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/iterator.c')
-rw-r--r--src/iterator.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/iterator.c b/src/iterator.c
index a9e6d20..6ebc9af 100644
--- a/src/iterator.c
+++ b/src/iterator.c
@@ -40,7 +40,7 @@ int S_is_leaf(cmark_node *node)
case CMARK_NODE_TEXT:
case CMARK_NODE_SOFTBREAK:
case CMARK_NODE_LINEBREAK:
- case CMARK_NODE_INLINE_CODE:
+ case CMARK_NODE_CODE:
case CMARK_NODE_INLINE_HTML:
return 1;
default: