diff options
author | John MacFarlane <jgm@berkeley.edu> | 2015-12-31 13:24:24 -0800 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2015-12-31 13:24:24 -0800 |
commit | 0d201be1001b700a8d39ba2947bd61bf213ee322 (patch) | |
tree | 0eb59d084f5a7e40c951f484ad0c2091df5df1bb | |
parent | 1f618253435bca44e269f2edf672424be88a68c4 (diff) |
Allow NODE_ITEM inside NODE_CUSTOM_BLOCK.
-rw-r--r-- | src/node.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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: |