summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/node.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/node.c b/src/node.c
index f618c8a..f98f765 100644
--- a/src/node.c
+++ b/src/node.c
@@ -52,7 +52,7 @@ static bool S_can_contain(cmark_node *node, cmark_node *child) {
return child->type == CMARK_NODE_ITEM;
case CMARK_NODE_CUSTOM_BLOCK:
- return child->type != CMARK_NODE_ITEM;
+ return true;
case CMARK_NODE_PARAGRAPH:
case CMARK_NODE_HEADING: