|
@@ -23,7 +23,7 @@ export function normalizeChildren (
|
|
|
const last = res[res.length - 1]
|
|
const last = res[res.length - 1]
|
|
|
// nested
|
|
// nested
|
|
|
if (Array.isArray(c)) {
|
|
if (Array.isArray(c)) {
|
|
|
- res.push.apply(res, normalizeChildren(c))
|
|
|
|
|
|
|
+ res.push.apply(res, normalizeChildren(c, ns))
|
|
|
} else if (isPrimitive(c)) {
|
|
} else if (isPrimitive(c)) {
|
|
|
if (last && last.text) {
|
|
if (last && last.text) {
|
|
|
last.text += String(c)
|
|
last.text += String(c)
|