summaryrefslogtreecommitdiff
path: root/src/commonmark.c
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2015-12-22 22:55:39 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2015-12-22 22:55:39 -0800
commit4811dc3ec2330f015444ac6f5ee4f8cbf3563808 (patch)
tree05ba17dcc8b7c3c6f4e6fa274c4f22aaf6cee708 /src/commonmark.c
parentde6c5fb2c45dfa2791074f7d99a27b23b2106dfc (diff)
Rename hrule -> thematic_break.
CMARK_NODE_HRULE -> CMARK_NODE_THEMATIC_BREAK. However we've defined the former as the latter to keep backwards compatibility. See jgm/CommonMark 8fa94cb460f5e516b0e57adca33f50a669d51f6c
Diffstat (limited to 'src/commonmark.c')
-rw-r--r--src/commonmark.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/commonmark.c b/src/commonmark.c
index 9b9971b..c45e5d4 100644
--- a/src/commonmark.c
+++ b/src/commonmark.c
@@ -292,7 +292,7 @@ static int S_render_node(cmark_renderer *renderer, cmark_node *node,
BLANKLINE();
break;
- case CMARK_NODE_HRULE:
+ case CMARK_NODE_THEMATIC_BREAK:
BLANKLINE();
LIT("-----");
BLANKLINE();