experiment-s2
Dominic Gannaway 8 hours ago
parent 6979d476e5
commit 3a52f4c6e9

@ -370,10 +370,15 @@ export function RegularElement(node, context) {
if (use_text_content) { if (use_text_content) {
child_state.init.push( child_state.init.push(
b.stmt( b.stmt(
b.assignment( b.call(
'=', '$.script_effect',
b.member(context.state.node, 'textContent'), b.thunk(
build_template_chunk(trimmed, context.visit, child_state).value b.assignment(
'=',
b.member(context.state.node, 'textContent'),
build_template_chunk(trimmed, context.visit, child_state).value
)
)
) )
) )
); );

Loading…
Cancel
Save