Skip to content

Commit fbaf52a

Browse files
authored
fix(compiler-dom): add tfoot,caption,col element on bail stringification (#1333)
1 parent 4c542d5 commit fbaf52a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

packages/compiler-dom/src/transforms/stringifyStatic.ts

+3-1
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,9 @@ const replaceHoist = (
146146
context.hoists[context.hoists.indexOf(hoistToReplace)] = replacement
147147
}
148148

149-
const isNonStringifiable = /*#__PURE__*/ makeMap(`thead,tr,th,tbody,td`)
149+
const isNonStringifiable = /*#__PURE__*/ makeMap(
150+
`caption,thead,tr,th,tbody,td,tfoot,colgroup,col`
151+
)
150152

151153
/**
152154
* for a hoisted node, analyze it and return:

0 commit comments

Comments
 (0)