summaryrefslogtreecommitdiff
path: root/src/node.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/node.c')
-rw-r--r--src/node.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/node.c b/src/node.c
index ad12d63..c5f4553 100644
--- a/src/node.c
+++ b/src/node.c
@@ -426,7 +426,7 @@ int cmark_node_set_list_tight(cmark_node *node, int tight) {
}
if (node->type == CMARK_NODE_LIST) {
- node->as.list.tight = tight;
+ node->as.list.tight = tight == 1;
return 1;
} else {
return 0;