<?xml version="1.0" encoding="UTF-8"?>

<injections>

	<injection name="injections.html.cssfix" selector="embedded.language-root.css, embedded.language-root.css *" action="insert-before-children">
		<cut-off action="end-zone-before">&lt;/(?i:style)</cut-off>
	</injection>

	<injection name="injections.html.jsfix" selector="embedded.language-root.js, embedded.language-root.js *" action="insert-before-children">
		<cut-off action="end-zone-before">&lt;/(?i:script)></cut-off>
	</injection>
	
	<injection name="injections.html.html-js-comments" selector="html embedded.language-root.js comment.line" action="attach-after-target">
		<!-- HTML comments (used to lead off script tags) -->
		<zone name="comment.line.html">
			<expression>(&lt;!--).*$[\n\r]*</expression>
			<capture number="1" name="punctuation.definition.begin"/>
		</zone>
		<zone name="comment.html.invalid">
			<expression>--></expression>
		</zone>
	</injection>
	
</injections>
