mirror of https://github.com/sveltejs/svelte
parent
6ed3ca380b
commit
06c9e5864b
@ -0,0 +1,5 @@
|
||||
---
|
||||
'svelte': patch
|
||||
---
|
||||
|
||||
fix: exclude custom elements from HTML tree validation
|
@ -0,0 +1,14 @@
|
||||
[
|
||||
{
|
||||
"code": "node_invalid_placement",
|
||||
"message": "`<tbody>` is invalid inside `<div>`",
|
||||
"start": {
|
||||
"line": 8,
|
||||
"column": 1
|
||||
},
|
||||
"end": {
|
||||
"line": 8,
|
||||
"column": 16
|
||||
}
|
||||
}
|
||||
]
|
@ -0,0 +1,9 @@
|
||||
<some-table>
|
||||
<!-- No error -->
|
||||
<tbody></tbody>
|
||||
</some-table>
|
||||
|
||||
<div>
|
||||
<!-- Error -->
|
||||
<tbody></tbody>
|
||||
</div>
|
Loading…
Reference in new issue