Resolved an issue with raw Svelte JS in a script block breaking an HTML document.

pull/354/head
Taylor Zane Glaeser 8 years ago
parent b5e9a2f99e
commit f5fefeb652

@ -17,7 +17,7 @@ export default function readScript ( parser, start, attributes ) {
break;
}
if ( parser.eat( '</script>' ) ) {
if ( parser.eat( '<\/script>' ) ) {
break;
}
}

Loading…
Cancel
Save