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

pull/349/head
Taylor Zane Glaeser 8 years ago
parent d8dbe4e94e
commit e91e12906a

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

Loading…
Cancel
Save