summaryrefslogtreecommitdiff
path: root/js/lib/html-renderer.js
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 /js/lib/html-renderer.js
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 'js/lib/html-renderer.js')
-rw-r--r--js/lib/html-renderer.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/lib/html-renderer.js b/js/lib/html-renderer.js
index e4a5b3a..f3fa44e 100644
--- a/js/lib/html-renderer.js
+++ b/js/lib/html-renderer.js
@@ -23,7 +23,7 @@ var inTags = function(tag, attribs, contents, selfclosing) {
var renderInline = function(inline) {
var attrs;
switch (inline.t) {
- case 'Str':
+ case 'Text':
return this.escape(inline.c);
case 'Softbreak':
return this.softbreak;