Merge pull request #2845 from ehuss/script-in-block
Fix raw status ending in the HTML tokenizer
This commit is contained in:
commit
51d7998ba4
4 changed files with 16 additions and 0 deletions
|
|
@ -614,6 +614,7 @@ where
|
|||
}
|
||||
}
|
||||
TagKind::EndTag => {
|
||||
is_raw = false;
|
||||
if self.is_html_tag_matching(&tag.name) {
|
||||
self.pop();
|
||||
}
|
||||
|
|
|
|||
|
|
@ -0,0 +1,7 @@
|
|||
<div>
|
||||
HTML block start
|
||||
<script>
|
||||
// script stuff <here>
|
||||
</script>
|
||||
< still in block
|
||||
</div>
|
||||
|
|
@ -1,3 +1,4 @@
|
|||
# Summary
|
||||
|
||||
- [Comment in list](./comment-in-list.md)
|
||||
- [Script in block](./script-in-block.md)
|
||||
|
|
|
|||
|
|
@ -0,0 +1,7 @@
|
|||
<div>
|
||||
HTML block start
|
||||
<script>
|
||||
// script stuff <here>
|
||||
</script>
|
||||
< still in block
|
||||
</div>
|
||||
Loading…
Add table
Reference in a new issue