Skip to content

Commit 4e9c466

Browse files
mathiasbynensdomenic
authored andcommitted
Fix crucial typo in script-escaping example
1 parent 29c2ab6 commit 4e9c466

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58586,7 +58586,7 @@ console.log(example);</pre>
5858658586
avoided entirely:</p>
5858758587

5858858588
<pre>&lt;script><mark>
58589-
var example = 'Consider this string: &lt;\!-- &lt;\script>';
58589+
var example = 'Consider this string: &lt;\!-- &lt;\/script>';
5859058590
console.log(example);
5859158591
</mark>&lt;/script>
5859258592
&lt;!-- this is just a comment between script blocks -->

0 commit comments

Comments
 (0)