<script webc:type="js" webc:root webc:raw>
let txt = slots.text.default;
webc.escapeText(txt);
</script>
When used inside the default slot of another component: <my-component><code>Test</code></my-component> the slots.text.default value was wrong or empty.
Example
code.webc
:When used inside the default slot of another component:
<my-component><code>Test</code></my-component>
theslots.text.default
value was wrong or empty.