pull/12335/head
Rich Harris 2 years ago
parent f263956f52
commit 32f6c4fc6d

@ -1432,6 +1432,10 @@ function process_children(nodes, expression, is_element, { visit, state }) {
}
if (sequence.length > 0) {
if (sequence.length === 1 && sequence[0].type === 'Text' && nodes.length > 1) {
state.init.push(b.stmt(b.call('$.next')));
}
flush_sequence(sequence);
}
}

Loading…
Cancel
Save