Skip to content

Resolved embedded Svelte library breaking HTML document#349

Merged
Rich-Harris merged 1 commit intosveltejs:masterfrom
taylorzane:fix-raw-js-in-html
Mar 6, 2017
Merged

Resolved embedded Svelte library breaking HTML document#349
Rich-Harris merged 1 commit intosveltejs:masterfrom
taylorzane:fix-raw-js-in-html

Conversation

@taylorzane
Copy link
Copy Markdown
Contributor

This resolves issue #344.

When the Svelte library is included inline in an HTML document, this line closes the HTML script block unexpectedly.

This prevents that from happening, and also prevents (most) minifiers from converting it back to '</script>', which is why '</scr' + 'ipt>' was not used.

@Rich-Harris Rich-Harris merged commit 8852e48 into sveltejs:master Mar 6, 2017
@Rich-Harris
Copy link
Copy Markdown
Member

excellent, thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants