diff options
author | John MacFarlane <jgm@berkeley.edu> | 2015-03-29 16:47:43 -0700 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2015-03-29 16:47:43 -0700 |
commit | 2791ffabfc7da2e19e6c5486070ebff20e9ac9df (patch) | |
tree | 4f757125bc8e3419c3159d2ba182dedbe5cf53c1 | |
parent | 951111c353c5eabe6c855f0a78362512d4d20d18 (diff) |
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.
-rw-r--r-- | src/commonmark.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |