From 2791ffabfc7da2e19e6c5486070ebff20e9ac9df Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Sun, 29 Mar 2015 16:47:43 -0700 Subject: commonmark - use * for bullet list to avoid clash with setext header. E.g. with a paragraph followed immediately by a list item with no content. --- src/commonmark.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/commonmark.c b/src/commonmark.c index e87e119..66d4ba7 100644 --- a/src/commonmark.c +++ b/src/commonmark.c @@ -312,7 +312,7 @@ S_render_node(cmark_node *node, cmark_event_type ev_type, if (entering) { if (cmark_node_get_list_type(node->parent) == CMARK_BULLET_LIST) { - lit(state, "- ", false); + lit(state, "* ", false); cmark_strbuf_puts(state->prefix, " "); } else { lit(state, listmarker, false); -- cgit v1.2.3