summaryrefslogtreecommitdiff
path: root/js/lib/inlines.js
diff options
context:
space:
mode:
authorJohn MacFarlane <fiddlosopher@gmail.com>2015-01-07 17:41:15 -0800
committerJohn MacFarlane <fiddlosopher@gmail.com>2015-01-07 17:41:15 -0800
commit22083ee5776508fa06a2d373f8a578256a5c63e3 (patch)
tree38adf7ef48775df1808f7d0cfbf8032286bd18fb /js/lib/inlines.js
parentd18ac1f99637cf3cc4381d34e35a196c5526027a (diff)
js: Use children rather than 'c' for Emph and Strong contents.
Now we use 'children' uniformly, in both inlines and blocks, for child nodes.
Diffstat (limited to 'js/lib/inlines.js')
-rw-r--r--js/lib/inlines.js4
1 files changed, 2 insertions, 2 deletions
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) {