skip html tag

pull/10631/head
navorite 3 years ago
parent 91472d9c23
commit 390f3f3455

@ -278,9 +278,6 @@ function check_nodes_for_namespace(nodes, namespace) {
if (node.data.trim() !== '') {
namespace = 'maybe_html';
}
},
HtmlTag() {
namespace = 'maybe_html';
}
}
);

@ -8,6 +8,8 @@
<text x={idx * 10} y={42}>{idx}</text>
{/each}
{@html '<text x="0" y="40">html</text>'}
{@render test("test")}
{#snippet test(text)}

Loading…
Cancel
Save