fix(compiler-dom): add tfoot,caption,col element on bail stringification (#1333)
This commit is contained in:
parent
4c542d5033
commit
fbaf52ae9f
@ -146,7 +146,9 @@ const replaceHoist = (
|
|||||||
context.hoists[context.hoists.indexOf(hoistToReplace)] = replacement
|
context.hoists[context.hoists.indexOf(hoistToReplace)] = replacement
|
||||||
}
|
}
|
||||||
|
|
||||||
const isNonStringifiable = /*#__PURE__*/ makeMap(`thead,tr,th,tbody,td`)
|
const isNonStringifiable = /*#__PURE__*/ makeMap(
|
||||||
|
`caption,thead,tr,th,tbody,td,tfoot,colgroup,col`
|
||||||
|
)
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* for a hoisted node, analyze it and return:
|
* for a hoisted node, analyze it and return:
|
||||||
|
Loading…
Reference in New Issue
Block a user