pull/1839/head
Rich Harris 7 years ago
parent 4e5fd7fdfd
commit ceb37e06e5

@ -27,6 +27,7 @@ const handlers: Record<string, Handler> = {
Head,
IfBlock,
InlineComponent,
Meta: noop,
MustacheTag: Tag, // TODO MustacheTag is an anachronism
RawMustacheTag: HtmlTag,
Slot,

@ -157,7 +157,7 @@ function stringifyAttribute(attribute: Attribute) {
return escapeTemplate(escape(chunk.data).replace(/"/g, '&quot;'));
}
return '${@escape(' + chunk.snippet + ')}';
return '${@escape(' + chunk.render() + ')}';
})
.join('');
}

@ -1,5 +1,5 @@
export default function(node, renderer, options) {
renderer.append('${(__result.head += `');
renderer.append('${($$result.head += `');
renderer.render(node.children, options);

Loading…
Cancel
Save