diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/blocks.c | 2 | ||||
-rw-r--r-- | src/node.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/blocks.c b/src/blocks.c index 6709ecd..98868d3 100644 --- a/src/blocks.c +++ b/src/blocks.c @@ -414,7 +414,7 @@ static bufsize_t parse_list_marker(cmark_mem *mem, cmark_chunk *input, data->marker_offset = 0; // will be adjusted later data->list_type = CMARK_BULLET_LIST; data->bullet_char = c; - data->start = 1; + data->start = 0; data->delimiter = CMARK_NO_DELIM; data->tight = false; } else if (cmark_isdigit(c)) { @@ -85,7 +85,7 @@ cmark_node *cmark_node_new_with_mem(cmark_node_type type, cmark_mem *mem) { case CMARK_NODE_LIST: { cmark_list *list = &node->as.list; list->list_type = CMARK_BULLET_LIST; - list->start = 1; + list->start = 0; list->tight = false; break; } |