pull/12335/head
Rich Harris 2 years ago
parent f39c0f024c
commit 1dd057595c

@ -1137,6 +1137,10 @@ const template_visitors = {
context.visit(node, state);
}
if (is_anchored) {
state.template.push(b.literal('<!---->'));
}
process_children(trimmed, { ...context, state });
if (is_anchored) {

@ -218,6 +218,10 @@ export function text(anchored) {
return t;
}
if (anchored) {
hydrate_next();
}
var node = hydrate_node;
// console.log('text', { hydrate_node });

Loading…
Cancel
Save