Svelte: & is escaped

Created on 1 Dec 2016  Â·  3Comments  Â·  Source: sveltejs/svelte

HTML entities should not be escaped:

<h1>Hello {{name}} &amp;!</h1>

Yields:

Hello world &amp;!

Most helpful comment

@Rich-Harris I just discovered this and you fixed it already. This is amazing, thanks!

All 3 comments

looks like all html entities are being escaped, as © isn't working, either

Thanks – fixed in 1.0.7

@Rich-Harris I just discovered this and you fixed it already. This is amazing, thanks!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

bestguy picture bestguy  Â·  3Comments

1u0n picture 1u0n  Â·  3Comments

juniorsd picture juniorsd  Â·  3Comments

matt3224 picture matt3224  Â·  3Comments

rob-balfre picture rob-balfre  Â·  3Comments