mirror of https://github.com/sveltejs/svelte
- collapse whitespace to single space when appropriate (#2745) - escape template string characters in script and style tagspull/3069/head
parent
5e81280faa
commit
9bce3fc586
@ -1,4 +1,4 @@
|
||||
<div>
|
||||
<style>div { color: red; }</style>
|
||||
<script>alert('<>');</script>
|
||||
<script>alert(`<>`);</script>
|
||||
</div>
|
Loading…
Reference in new issue