diff options
author | John MacFarlane <fiddlosopher@gmail.com> | 2014-11-25 14:51:54 -0800 |
---|---|---|
committer | John MacFarlane <fiddlosopher@gmail.com> | 2014-11-25 14:51:54 -0800 |
commit | a5a55657ad8c1da1e17eda8e0a321612e61c311e (patch) | |
tree | eeffae63dff482617227c435e63bff63f2611fb7 /src/cmark.h | |
parent | e31e2d2fe1d28223eee9f406b82d6f48552f5be7 (diff) |
Rename NODE_STRING -> NODE_TEXT.
In JS, use 'Text' instead of 'Str'.
In spec, use "plain textual content" instead of "strings."
Diffstat (limited to 'src/cmark.h')
-rw-r--r-- | src/cmark.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/cmark.h b/src/cmark.h index 6e58f0b..d778a53 100644 --- a/src/cmark.h +++ b/src/cmark.h @@ -27,7 +27,7 @@ typedef enum { CMARK_NODE_LAST_BLOCK = CMARK_NODE_REFERENCE_DEF, // Inline - CMARK_NODE_STRING, + CMARK_NODE_TEXT, CMARK_NODE_SOFTBREAK, CMARK_NODE_LINEBREAK, CMARK_NODE_INLINE_CODE, @@ -37,7 +37,7 @@ typedef enum { CMARK_NODE_LINK, CMARK_NODE_IMAGE, - CMARK_NODE_FIRST_INLINE = CMARK_NODE_STRING, + CMARK_NODE_FIRST_INLINE = CMARK_NODE_TEXT, CMARK_NODE_LAST_INLINE = CMARK_NODE_IMAGE, } cmark_node_type; @@ -204,7 +204,7 @@ char *cmark_markdown_to_html(const char *text, int len); #define NODE_HEADER CMARK_NODE_HEADER #define NODE_HRULE CMARK_NODE_HRULE #define NODE_REFERENCE_DEF CMARK_NODE_REFERENCE_DEF - #define NODE_STRING CMARK_NODE_STRING + #define NODE_TEXT CMARK_NODE_TEXT #define NODE_SOFTBREAK CMARK_NODE_SOFTBREAK #define NODE_LINEBREAK CMARK_NODE_LINEBREAK #define NODE_INLINE_CODE CMARK_NODE_INLINE_CODE |