<script>
	export let bar;
</script>

<svg>
	<g data-foo='bar'/>
	<g data-foo='{bar}'/>
</svg>