From b944210a024e85a8a78ead0c95f7f1b0042fb6bf Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Mon, 28 Dec 2015 23:01:02 -0800 Subject: Defined aliases for old NODE_HTML and NODE_HTML_INLINE to ease backwards compatibility. --- src/cmark.h | 2 ++ 1 file changed, 2 insertions(+) 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, -- cgit v1.2.3