From 22083ee5776508fa06a2d373f8a578256a5c63e3 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Wed, 7 Jan 2015 17:41:15 -0800 Subject: js: Use children rather than 'c' for Emph and Strong contents. Now we use 'children' uniformly, in both inlines and blocks, for child nodes. --- js/lib/inlines.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'js/lib/inlines.js') diff --git a/js/lib/inlines.js b/js/lib/inlines.js index 1921e60..ef7a00f 100644 --- a/js/lib/inlines.js +++ b/js/lib/inlines.js @@ -248,11 +248,11 @@ var scanDelims = function(cc) { }; var Emph = function(ils) { - return {t: 'Emph', c: ils}; + return {t: 'Emph', children: ils}; }; var Strong = function(ils) { - return {t: 'Strong', c: ils}; + return {t: 'Strong', children: ils}; }; var Str = function(s) { -- cgit v1.2.3