summaryrefslogtreecommitdiff
path: root/src/inlines.c
diff options
context:
space:
mode:
authorJohn MacFarlane <fiddlosopher@gmail.com>2014-11-25 14:51:54 -0800
committerJohn MacFarlane <fiddlosopher@gmail.com>2014-11-25 14:51:54 -0800
commita5a55657ad8c1da1e17eda8e0a321612e61c311e (patch)
treeeeffae63dff482617227c435e63bff63f2611fb7 /src/inlines.c
parente31e2d2fe1d28223eee9f406b82d6f48552f5be7 (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/inlines.c')
-rw-r--r--src/inlines.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/inlines.c b/src/inlines.c
index 9bc4e35..060b536 100644
--- a/src/inlines.c
+++ b/src/inlines.c
@@ -15,7 +15,7 @@
// Macros for creating various kinds of simple.
-#define make_str(s) make_literal(CMARK_NODE_STRING, s)
+#define make_str(s) make_literal(CMARK_NODE_TEXT, s)
#define make_code(s) make_literal(CMARK_NODE_INLINE_CODE, s)
#define make_raw_html(s) make_literal(CMARK_NODE_INLINE_HTML, s)
#define make_linebreak() make_simple(CMARK_NODE_LINEBREAK)