summaryrefslogtreecommitdiff
path: root/src/node.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/node.c')
-rw-r--r--src/node.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/node.c b/src/node.c
index 62acf14..e722acf 100644
--- a/src/node.c
+++ b/src/node.c
@@ -30,9 +30,6 @@ static bool S_can_contain(cmark_node *node, cmark_node *child) {
if (node == NULL || child == NULL) {
return false;
}
- if (NODE_MEM(node) != NODE_MEM(child)) {
- return 0;
- }
// Verify that child is not an ancestor of node or equal to node.
cur = node;