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

ricardobeat picture ricardobeat  Â·  3Comments

sskyy picture sskyy  Â·  3Comments

plumpNation picture plumpNation  Â·  3Comments

angelozehr picture angelozehr  Â·  3Comments

AntoninBeaufort picture AntoninBeaufort  Â·  3Comments