3 // We have to close these tags to support XHTML (#13200)
7 option: [ 1, "<select multiple='multiple'>", "</select>" ],
9 // XHTML parsers do not magically insert elements in the
10 // same way that tag soup parsers do. So we cannot shorten
11 // this by omitting <tbody> or other required elements.
12 thead: [ 1, "<table>", "</table>" ],
13 col: [ 2, "<table><colgroup>", "</colgroup></table>" ],
14 tr: [ 2, "<table><tbody>", "</tbody></table>" ],
15 td: [ 3, "<table><tbody><tr>", "</tr></tbody></table>" ],
17 _default: [ 0, "", "" ]
21 wrapMap.optgroup = wrapMap.option;
23 wrapMap.tbody = wrapMap.tfoot = wrapMap.colgroup = wrapMap.caption = wrapMap.thead;
24 wrapMap.th = wrapMap.td;