summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2015-12-28 23:01:02 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2015-12-28 23:01:02 -0800
commitb944210a024e85a8a78ead0c95f7f1b0042fb6bf (patch)
tree1f47c74e22ab610143aca10c2695930b9c9284e7 /src
parent0aaf77ea8d60741c1fd0dc1f53729f07dfe44a4a (diff)
Defined aliases for old NODE_HTML and NODE_HTML_INLINE
to ease backwards compatibility.
Diffstat (limited to 'src')
-rw-r--r--src/cmark.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/cmark.h b/src/cmark.h
index 1f4efa4..5f9f294 100644
--- a/src/cmark.h
+++ b/src/cmark.h
@@ -67,6 +67,8 @@ typedef enum {
/* For backwards compatibility: */
#define CMARK_NODE_HEADER CMARK_NODE_HEADING
#define CMARK_NODE_HRULE CMARK_NODE_THEMATIC_BREAK
+#define CMARK_NODE_HTML CMARK_NODE_HTML_BLOCK
+#define CMARK_NODE_INLINE_HTML CMARK_NODE_HTML_INLINE
typedef enum {
CMARK_NO_LIST,