summaryrefslogtreecommitdiff
path: root/src/print.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/print.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/print.c')
-rw-r--r--src/print.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/print.c b/src/print.c
index 1afa584..9e5a90e 100644
--- a/src/print.c
+++ b/src/print.c
@@ -43,8 +43,8 @@ static void print_inlines(cmark_node* ils, int indent)
putchar(' ');
}
switch(ils->type) {
- case NODE_STRING:
- printf("str ");
+ case NODE_TEXT:
+ printf("text ");
print_str(ils->as.literal.data, ils->as.literal.len);
putchar('\n');
break;