- Commit
- b944210a024e85a8a78ead0c95f7f1b0042fb6bf
- Parent
- 0aaf77ea8d60741c1fd0dc1f53729f07dfe44a4a
- Author
- John MacFarlane <jgm@berkeley.edu>
- Date
Defined aliases for old NODE_HTML and NODE_HTML_INLINE
to ease backwards compatibility.
My personal build of CMark ✏️
Defined aliases for old NODE_HTML and NODE_HTML_INLINE
to ease backwards compatibility.
1 file changed, 2 insertions, 0 deletions
Status | File Name | N° Changes | Insertions | Deletions |
Modified | src/cmark.h | 2 | 2 | 0 |
diff --git 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,