mirror of https://github.com/sveltejs/svelte
Merge 5a6a1e3c22 into 435da13fdd
commit
e621fe9800
@ -0,0 +1,5 @@
|
||||
---
|
||||
'svelte': patch
|
||||
---
|
||||
|
||||
fix: multiline html blocks now properlery seperated from other multiline blocks while `print()`-ing an AST
|
||||
@ -1 +1,8 @@
|
||||
<script>import { setLocale } from '$lib/paraglide/runtime';import { m } from '$lib/paraglide/messages.js';</script><h1>{m.hello_world({ name: 'SvelteKit User' })}</h1><div><button onclick={() => setLocale('en')}>en</button><button onclick={() => setLocale('es')}>es</button></div><p>If you use VSCode, install the <a href="https://marketplace.visualstudio.com/items?itemName=inlang.vs-code-extension" target="_blank">Sherlock i18n extension</a>for a better i18n experience.</p>
|
||||
<script>import { setLocale } from '$lib/paraglide/runtime';import { m } from '$lib/paraglide/messages.js';</script>
|
||||
|
||||
<h1>{m.hello_world({ name: 'SvelteKit User' })}</h1><div><button onclick={() => setLocale('en')}>en</button><button onclick={() => setLocale('es')}>es</button></div><p>If you use VSCode, install the <a href="https://marketplace.visualstudio.com/items?itemName=inlang.vs-code-extension" target="_blank">Sherlock i18n extension</a>for a better i18n experience.</p>
|
||||
|
||||
<Component><div><button>Hello, this is a test</button><button>Hello, this is a test</button></div></Component>
|
||||
<Component><button>Hello, this is a test</button><button>Hello, this is a test</button></Component>
|
||||
<button class="foo bar" aria-label="click" onclick={() => console.log("clicked")}>Click me!</button>
|
||||
<button class="foo bar" aria-label="click" onclick={() => console.log("clicked")}><span>some fancy looking</span><span>really long button text</span></button>
|
||||
|
||||
@ -1,8 +1,7 @@
|
||||
<div style:color="red">...</div>
|
||||
|
||||
<div
|
||||
style:color
|
||||
style:width="12rem"
|
||||
style:background-color={darkMode ? 'black' : 'white'}
|
||||
>
|
||||
...
|
||||
</div>
|
||||
>...</div>
|
||||
|
||||
Loading…
Reference in new issue